TsgcHTTP_API_OpenAI

OpenAI REST API client covering Chat Completions, Images, Audio (TTS/STT), Embeddings, Files, Fine-tuning, Moderation, Assistants, Threads, Runs, Messages and Vector Stores.

Introduction

OpenAI REST API client covering Chat Completions, Images, Audio (TTS/STT), Embeddings, Files, Fine-tuning, Moderation, Assistants, Threads, Runs, Messages and Vector Stores.

Introduction

OpenAI REST API client covering Chat Completions, Images, Audio (TTS/STT), Embeddings, Files, Fine-tuning, Moderation, Assistants, Threads, Runs, Messages and Vector Stores.

Configure the OpenAIOptions property with your API key and optional HTTP/retry/log settings, then call the typed methods such as CreateMessage/CreateChatCompletion with a request object and receive a typed response class.

For background on the provider, see the OpenAI guide.

Reference