Allow Instructor to work on other LLM's #348
phatlast96
started this conversation in
General
Replies: 2 comments 6 replies
-
are you using litellm or ollama? |
Beta Was this translation helpful? Give feedback.
4 replies
-
How about Together's AI implementation? It should've worked out of the box, right? https://docs.together.ai/docs/integrations |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I love Instructor. Is it possible to have it work on other LLM's with varied API. In the end, all the API does is just aggregate it into one prompt right. Theoretically, it should work.
Describe the solution you'd like
Have a way for Instructor to output a large prompt to any LLM's. Since LLM's take prompts in the end, all the work that Instructor does to organize information should be available as a large prompt.
Similar to a compiler, it'd be great if Instructor "compiles" the Pydantic and all the validations to make it smooth for any LLM. Instructor should take a function, that contains the prompt and outputs generated answer, to be able to port Instructor's features.
Describe alternatives you've considered
Additional context
Beta Was this translation helpful? Give feedback.
All reactions