mirror of https://github.com/arc53/DocsGPT
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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}
|
|
|
|
```
|