Use Direct HTTPS or the OpenAI SDK with External Applications
To integrate with external applications, you can use either the direct HTTP requests approach or the OpenAI SDK.
OpenAI SDK Integration Example
OPENAI SDK INTEGRATION
Code example with python syntax.1
Direct HTTP Requests Example
DIRECT HTTP REQUESTS
Code example with python syntax.1
This demonstrates how to use the Vectara Chat Completions API, both directly and with the OpenAI SDK. You can use this API to add powerful generative AI capabilities to your applications with OpenAI-compatible interfaces.