dspy icon indicating copy to clipboard operation
dspy copied to clipboard

feat: adds Unify AI

Open OscarArroyoVega opened this issue 6 months ago • 3 comments

This feature adds support for using Unify AI Using Unify gives support to a wide variety of AI Models with 1 single unified API key Unify enables routing and training of custom routers across various models and providers to optimize performance for specific prompts.

model = dspy.UnifyI(model="gpt-4o@openai", 
          api_key=<your_key>
)
dspy.settings.configure(lm=model)
# ...use normally...

OscarArroyoVega avatar Aug 16 '24 07:08 OscarArroyoVega