Better DSPy Integration with HuggingfacePipeline models #18400
BlueKiji77
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
A more thorough integration with DSPy allowing the use of Langchain capabilities with DSPy.
The integration would work is the model is accessed through an a client or locally (Huggingface model, Ollama ...)
Motivation
The current integration with Langchain is rather limited and hardcodes GPT4 in _build_signature function from LangchainPredict
Replacing GPT4 with a HuggingfacePipeline does not work either as dspy.Predict does not mesh well with HuggingfacePipeline
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions