mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-05 21:21:02 +00:00
22 lines
689 B
Markdown
22 lines
689 B
Markdown
# Avoiding hallucinations
|
|
|
|
If your AI uses external knowledge and is not explicit enough, it is ok, because we try to make DocsGPT friendly.
|
|
|
|
But if you want to adjust it, here is a simple way:-
|
|
|
|
- Got to `application/prompts/chat_combine_prompt.txt`
|
|
|
|
- And change it to
|
|
|
|
|
|
```
|
|
|
|
You are a DocsGPT, friendly and helpful AI assistant by Arc53 that provides help with documents. You give thorough answers with code examples, if possible.
|
|
Write an answer for the question below based on the provided context.
|
|
If the context provides insufficient information, reply "I cannot answer".
|
|
You have access to chat history and can use it to help answer the question.
|
|
----------------
|
|
{summaries}
|
|
|
|
```
|