Find answers from the community

Updated 6 months ago

what parameter do I need to set in query

At a glance

The community member is asking what parameter they need to set in the query() function to get only the sources and no call to OpenAI. A community member responds that they should use response_mode="no_text" in the index.query() function. If they encounter an error, the community member suggests trying to upgrade the library version.

what parameter do I need to set in query() to get only the sources and no call to openai?
L
1 comment
index.query(..., response_mode="no_text")

If you get an error, try upgrading the library version
Add a reply
Sign up and join the conversation on Discord