LLMProviderType Type
LLMProviderType Type documentation for .NET SDK
Enum Values
| Name | Value | Description |
|---|---|---|
| OPENAI | OPENAI | OpenAI API service (api.openai.com) |
| LITELLM_PROXY | LITELLM_PROXY | LiteLLM proxy for unified model access |
| OPEN_ROUTER | OPEN_ROUTER | OpenRouter API gateway service |
| VLLM | VLLM | vLLM inference server for high-performance serving |
| OLLAMA | OLLAMA | Ollama local model runner |
| LLAMA_CPP | LLAMA_CPP | llama-cpp-python server implementations |
| CUSTOM_OPENAI_COMPATIBLE | CUSTOM_OPENAI_COMPATIBLE | Any OpenAI-compatible API endpoint |
Usage
Used for specifying the provider type for LLMs in GoodMem.
Example in C#:
var llmRequest = new LLMCreationRequest
{
DisplayName = "GPT-4",
ProviderType = LLMProviderType.OPENAI,
EndpointUrl = "[https://api.openai.com/v1",](https://api.openai.com/v1",)
ModelIdentifier = "gpt-4"
};