| ▲ | GabrielBianconi 4 hours ago | |
TensorZero works with the OpenAI SDK out of the box: ``` from openai import OpenAI # Point the client to the TensorZero Gateway client = OpenAI(base_url="http://localhost:3000/openai/v1", api_key="not-used") response = client.chat.completions.create(
)``` You can layer additional features only as needed (fallbacks, templates, A/B testing, etc). | ||