Find answers from the community

Updated 4 months ago

modifying low-level prompt

At a glance
so it's unclear where this part of the prompt is coming from. it's not the system prompt, and it's not the query wrapper. when passing context, I am seeing this in the total prompt:

Plain Text
Context information is below.
---------------------
file_name: summary-docs/cluster-autoscaling.md


now, i understand that i have metadata on the file, so that likely explains why that is passed. But I'm curious about the context information is below part and how to alter that
t
L
8 comments
looks like it's DEFAULT_TEXT_QA_PROMPT_TMPL
Yea, you can modify this with the text_qa_template kwarg
Let me get an example
i'm surprised this was so hard to find in the docs
It's something we need to expose better -- both in the docs and in the UX
Big docs revamp coming btw, we just hired a new VP for devrel lol he wants to fix a ton of stuff
Add a reply
Sign up and join the conversation on Discord