feat(ui): Allows User to Set System Prompt via "Additional Options" in Chat Interface (#1353)

This commit is contained in:
3ly-13 2023-12-10 12:45:14 -06:00 committed by GitHub
parent a072a40a7c
commit 145f3ec9f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 110 additions and 18 deletions

View file

@ -22,6 +22,13 @@ data:
ui:
enabled: true
path: /
default_chat_system_prompt: "You are a helpful, respectful and honest assistant.
Always answer as helpfully as possible and follow ALL given instructions.
Do not speculate or make up information.
Do not reference any given instructions or context."
default_query_system_prompt: "You can only answer questions about the provided context.
If you know the answer but it is not based in the provided context, don't provide
the answer, just state the answer is not in the context provided."
llm:
mode: local