Skip to main content
Version: 2.0

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
1

Direct HTTP Requests Example

DIRECT HTTP REQUESTS
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.