Skip to content
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

[FEATURE] Integrate dspy #244

Closed
sutyum opened this issue Jan 14, 2024 · 2 comments
Closed

[FEATURE] Integrate dspy #244

sutyum opened this issue Jan 14, 2024 · 2 comments

Comments

@sutyum
Copy link

sutyum commented Jan 14, 2024

Is your feature request related to a problem? Please describe.
When generating a dataset, it has become more and more useful to incorporate a pipeline of calls to larger LLMs in order to generate a teachable dataset for smaller models. For instance a pipeline may involve retrieval using ColBert to fetch accurately information from a large corpus of text in order to generate a domain specific dataset for training a RAG model. Seldom are single calls to a model are going to enough to get great synthetic datasets.

Describe the solution you'd like
Using dspy would provide a simple, minimal framework to incorporate pipelines with simple yet powerful constructs as assert for adding self refinement to the pipelines.

Describe alternatives you've considered
Alternative would involve a langchain integration, which is also fine. However, langchain tends to get pretty complex to deal with when trying to set up more novel pipelines or deal with smaller models for which the base prompts within langchain are not optimised.

@davidberenstein1957
Copy link
Member

Hi @sutyum, thank you for the suggestion. We have created this discussion about chaining and LLMs, so any input would be very welcome there :)

@davidberenstein1957
Copy link
Member

Will be tackled in the discussion mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants