メインコンテンツまでスキップ
バージョン: 次へ

OpenAIChatAPI

The OpenAIChatAPI class provides an interface to interact with OpenAI's chat based functionality, leveraging completion and vision capabilities.

プロパティ

プロパティ説明
completionsOpenAIChatCompletionsAPIAn instance that handles chat completions requests.
visionOpenAIVisionAn helper instance that handles vision-related requests.

Function

create()

create(systemPrompt : Text) : OpenAIChatHelper

引数説明
systemPromptTextThe system prompt to initialize the chat.
戻り値OpenAIChatHelperA helper instance for managing chat interactions.