AdalFlow icon indicating copy to clipboard operation
AdalFlow copied to clipboard

adalflow with OpenAI models through a developer platform.

Open vijayendra-g opened this issue 6 months ago • 1 comments

Hey

I have a question about using OpenAI models through a developer platform. With dspy , I can pass the developer platform endpoint ( base_url="https://llm.prod.xxx.com"), which looks something like

turbo = dspy.OpenAI(
            model='gpt-4o',
            api_key=bearer_token,
            base_url="https://llm.prod.xxx.com",
            temperature=0,
            max_tokens=1000,
        )
dspy.settings.configure(lm=turbo)


How to do similar thing in adalflow?

vijayendra-g avatar Aug 28 '24 14:08 vijayendra-g