Aspose::Words::AI::OpenAiModel class

OpenAiModel class

An abstract class representing the integration with OpenAI’s large language models within the Aspose.Words.

class OpenAiModel : public Aspose::Words::AI::AiModel,
                    public Aspose::Words::AI::IAiModelText

Methods

MethodDescription
static Create(Aspose::Words::AI::AiModelType)Creates a new instance of AiModel class.
GetType() const override
Is(const System::TypeInfo&) const override
static Type()
WithApiKey(const System::String&)Sets a specified API key to the model.
WithOrganization(const System::String&)Sets a specified Organization to the model.
WithProject(const System::String&)Sets a specified Project to the model.

See Also