Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add system_prompt to chat endpoint #1480

Merged

Conversation

TamiTakamiya
Copy link
Contributor

Jira Issue: https://issues.redhat.com/browse/AAP-38211

Description

Add system_prompt to POST /chat endpoint.

Testing

Steps to test

  1. Pull down the PR
  2. Run unit test

Scenarios tested

Unit test cases are included.

Production deployment

  • This code change is ready for production on its own
  • This code change requires the following considerations before going to production:

@TamiTakamiya TamiTakamiya force-pushed the TamiTakamiya/AAP-38211/add-system-prompt-to-chat-api branch from 6ba1b6c to 425c9ef Compare January 6, 2025 19:47
@TamiTakamiya TamiTakamiya force-pushed the TamiTakamiya/AAP-38211/add-system-prompt-to-chat-api branch from 425c9ef to 939b6dd Compare January 6, 2025 20:49
@TamiTakamiya TamiTakamiya marked this pull request as ready for review January 6, 2025 21:21
Copy link
Contributor

@justjais justjais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes LGTM, @TamiTakamiya can you please lemme know the use case for adding the debug only system prompt?

@TamiTakamiya
Copy link
Contributor Author

can you please lemme know the use case for adding the debug only system prompt?

It is for letting Marty test various system prompts w/o setting up development environment 😃

@TamiTakamiya TamiTakamiya merged commit c2b631a into main Jan 7, 2025
11 checks passed
@TamiTakamiya TamiTakamiya deleted the TamiTakamiya/AAP-38211/add-system-prompt-to-chat-api branch January 7, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants