Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
I got this answer The given context
I got this answer The given context
Inactive
0
Follow
V
V
2 years ago
ยท
I got this answer: "The given context information does not provide an answer to the question as it is unrelated to the topic of the passage." can we set it up to let chatgpt answer those questions that not included in given docs?
L
V
6 comments
Share
Open in Discord
L
Logan M
2 years ago
For sure. Currently, the internal prompts tell it not to use internal knowledge, so you can pass in custom prompts that allow it.
Specifically,
text_qa_template=
and
refine_template=
can be be set in the
query()
call.
Page on customizing prompts:
L
Logan M
2 years ago
https://gpt-index.readthedocs.io/en/latest/how_to/custom_prompts.html
L
Logan M
2 years ago
Current default prompts:
https://github.com/jerryjliu/llama_index/blob/main/gpt_index/prompts/default_prompts.py
L
Logan M
2 years ago
ChatGPT Specific Default Prompts:
https://github.com/jerryjliu/llama_index/blob/main/gpt_index/prompts/chat_prompts.py
V
V
2 years ago
thanks! i will learn it !
V
V
2 years ago
succeeded!! ^_^
Add a reply
Sign up and join the conversation on Discord
Join on Discord