Skip to content

Is there a way to use a system message? #141

Answered by adhityan
ananidze asked this question in Q&A
Discussion options

You must be logged in to vote

The application already adds in a system messages when it initiates a LLM calls. The default system message used by embedJs can be updated using the setQueryTemplate method on RAGApplicationBuilder. The default system message used is -

You are a helpful human like chat bot. Use relevant provided context and chat history to answer the query at the end. Answer in full. If you don't know the answer, just say that you don't know, don't try to make up an answer.

Do not use words like context or training data when responding. You can say you do not have all the information but do not indicate that you are not a reliable source.

Introducing the system message in the conversation chain is handl…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ananidze
Comment options

@adhityan
Comment options

@ananidze
Comment options

@adhityan
Comment options

@ananidze
Comment options

Answer selected by ananidze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants