The Teradata Package for Python (teradataml), which is Teradata's Python package for client-side scripts, is extended with support for OpenAI and Azure OpenAI. This support is added to the tdapiclient library.
Azure provides the following Python SDK to interact with their OpenAI offering: Azure OpenAI REST API
OpenAI provides the following Python SDK to interact with their offering: OpenAI Python SDK
In the 1.4.0.0 release, the API is limited to Embeddings.
Azure OpenAI API | OpenAI API | Class Support in tdapiclient |
---|---|---|
Azure OpenAI REST API (completions and embeddings) |
Embeddings Endpoint | Supported |