AdalFlow
AdalFlow copied to clipboard
adalflow with OpenAI models through a developer platform.
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?