OpenAIWebClient class

OpenAIWebClient class

A built-in IAIWebClient implementation that connects to the OpenAI API.

The OpenAIWebClient type exposes the following members:

Constructors

ConstructorDescription
__init__(self, model, api_key, organization_id)Creates an instance of the OpenAI web client.

Methods

MethodDescription
create_conversation(self)Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context.

See Also