You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DSPy related code is based on wren-ai-service/eval/prompt_optimizer.py, wren-ai-service/eval/dspy_modules and wren-ai-service/eval/optimized.
Please read wren-ai-service/eval/prompt_optimizer.py first so you could better understand the overall workflow
You may use public text-to-sql dataset(for example, spider dataset) to do some experiments, and the final result would be optimized json. We hope we can then retrieve optimized prompt from the json and ingest them into the prompts.
Feel free to discuss with me if you have any other questions, welcome to join our Discord: https://discord.gg/5DvshJqG8Z
The text was updated successfully, but these errors were encountered:
We wonder how DSPy could help us auto-optimize prompt for us, I've created a branch before: https://github.com/Canner/WrenAI/tree/chore/ai-service/dspy, so please do some experiments on DSPy based on the branch.
DSPy related code is based on
wren-ai-service/eval/prompt_optimizer.py
,wren-ai-service/eval/dspy_modules
andwren-ai-service/eval/optimized
.Please read
wren-ai-service/eval/prompt_optimizer.py
first so you could better understand the overall workflowYou may use public text-to-sql dataset(for example, spider dataset) to do some experiments, and the final result would be optimized json. We hope we can then retrieve optimized prompt from the json and ingest them into the prompts.
Feel free to discuss with me if you have any other questions, welcome to join our Discord: https://discord.gg/5DvshJqG8Z
The text was updated successfully, but these errors were encountered: