Saltar para o conteúdo principal
Versão: 20 R9 BETA

OpenAIChatAPI

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

Propriedades

PropriedadeTipoDescrição
completionsOpenAIChatCompletionsAPIAn instance that handles chat completions requests.
visionOpenAIVisionAn helper instance that handles vision-related requests.

Function

create()

create(systemPrompt : Text) : OpenAIChatHelper

ParâmetroTipoDescrição
systemPromptTextThe system prompt to initialize the chat.
ResultadoOpenAIChatHelperA helper instance for managing chat interactions.