-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
best working prompt text #1819
Comments
Hi @Amitt1412 Regarding #1, are you coming across this with any of the DSPy retrieval model integrations? Seems more relevant to the retrieval model / strategy used but lmk if there are any additional details to address this in DSPy! Regarding #3, you can save/load programs in DSPy through:
Hope this helps! |
Thank you for the response. Here in the documentation A part of code snippet is as here -
In this part we are searching / retrieving the context relevant to the question. But we are trying to compare the question & answers based on the current prompt & than we are trying to find out a better prompt from the set of generated prompts. Using a retrieval, it may happen that our context itself is not retrieved & therefore our response generation in the pipeline will be affected. This may overall affect the overall prompt optimization flow. **So, it is a very genuine curiosity that why are we trying to retrieve the context based on the query instead of directly sending the chunk from where the question is related to. Could you please help me understand your perspective. ** Else you may also help me understand the execution flow. Regards |
Hello folks,
I used my pdfs to get the data & set of question & answers. Also, I implemented the dspy flow. Could you please help me understand the following
Suggestion would be appreciated.
The text was updated successfully, but these errors were encountered: