LLM service vendor for Nestia Chat.

IAgenticaVendor is a type represents an LLM (Large Language Model) vendor of the Agentica.

Currently, Agentica supports OpenAI SDK. However, it does not mean that you can use only OpenAI's GPT model in the Agentica. The OpenAI SDK is just a connection tool to the LLM vendor's API, and you can use other LLM vendors by configuring its baseURL and API key.

Therefore, if you want to use another LLM vendor like Claude or Gemini, please configure the baseURL to the api, and set IAgenticaController's schema model as "cluade" or "gemini".

Samchon

interface IAgenticaVendor {
    api: OpenAI;
    model: ChatModel | {} & string;
    options?: RequestOptions;
}

Properties

Properties

api: OpenAI

OpenAI API instance.

model: ChatModel | {} & string

Chat model to be used.

({}) & string means to support third party hosting cloud(eg. openRouter, aws)

options?: RequestOptions

Options for the request.