pip install -U dspy
LM
interface. Configure the LM with TrueFoundry’s gateway URL and your API key:
your-truefoundry-api-key
with your actual TrueFoundry API keyyour-truefoundry-gateway-url
with your TrueFoundry Gateway URLopenai-main/gpt-4o
with your desired model from your TrueFoundry providers