B-Arts DocumentationIndice generale

BAIOpenAIProvider

Identità

  • Namespace: B.BAI.BAIProviders

  • Tipo: class : IBAIProvider, IDisposable

  • Name: OpenAI

  • DefaultUrl: BAIGlobal.OpenAIUrl

  • RequiresApiKey: true

Costruttore

  • BAIOpenAIProvider(Action<string, BEnumerations.eSeverity> AddLog, BHttp? http = null).

Usa la Responses API (/v1/responses) e normalizza modelli, output, citations, tool call, streaming, Structured Output ed embeddings nel contratto BAI.

API implementata

Espone tutti i membri di IBAIProvider e Dispose(). Nel codice applicativo preferire BAIConnectionSettings.TipoProvider = eBAITipoProvider.OpenAI.