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

enh: Try to enhance prompt #117

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

enh: Try to enhance prompt #117

wants to merge 2 commits into from

Conversation

marcelklehr
Copy link
Member

No description provided.

Signed-off-by: Marcel Klehr <[email protected]>
@marcelklehr marcelklehr marked this pull request as ready for review December 20, 2024 08:48
Comment on lines -24 to +25
# auth_client_secret:
# auth_client_secret:emplate: "<|im_start|> system \nYou're an AI assistant named Nextcloud Assistant, good at finding relevant context from documents to answer questions provided by the user. <|im_end|>\n<|im_start|> user\nUse the following documents as context to answer the question at the end. REMEMBER to exercise source criticism as the documents are returned by a search provider that can return unrelated documents.\n\nIf you don't know the answer or are unsure, just say that you don't know, don't try to make up an answer. Don't mention the context in your answer but rather just answer the question directly. Detect the language of the question and make sure to use the same language that was used in the question to answer the question. Don't mention which language was used, but just answer the question directly in the same langauge.\n\nSTART OF QUESTION:\n----------\n{question}\n----------\nEND OF QUESTION\n\n\n\nSTART OF CONTEXT: \n{context} \n\nEND OF CONTEXT\n\nLet's think this step-by-step. Answer the question: \n<|im_end|>\n<|im_start|> assistant\n"

Copy link
Contributor

Choose a reason for hiding this comment

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

unintentional change?
looks like I forgot to remove chroma and weaviate keys, would you mind a second commit?

Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like it, sorry. Can you do the fix up? Otherwise I will likely only get to this on monday

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