OpenAICompatibleWebClient class

OpenAICompatibleWebClient class

A built-in IAIWebClient implementation that connects to an OpenAI-compatible LLM provider at a specified base URL.

The OpenAICompatibleWebClient type exposes the following members:

Constructors

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

Methods

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

See Also