Backend is an LLM provider, think OpenAI, Anthropic, etc. Enochian provides integrations
with the large providers as well as SGLang for local models.
SGLBackend
SGLang is a fast local LLM inference engine. Enochian is also heavily inspired by their frontend language!setModel
Parameters
url: string
Promise<void>
Example
OpenAIBackend
setModel
Parameters
{baseURL?: string, modelName?: ChatModel}
Promise<void>
Example
OPENAI_API_KEY.