ProviderType Type
ProviderType Type documentation for .NET SDK
Enum Values
| Name | Value | Description |
|---|---|---|
| OPENAI | OPENAI | Models provided by OpenAI (e.g., text-embedding-ada-002) |
| VLLM | VLLM | Models served via a vLLM-compatible API endpoint |
| TEI | TEI | Models served via the HuggingFace Text-Embeddings-Inference (TEI) toolkit |
| LLAMA_CPP | LLAMA_CPP | Models served via a Llama.cpp-compatible API endpoint |
| VOYAGE | VOYAGE | Models provided by Voyage AI (e.g., rerank-2.5) |
| COHERE | COHERE | Models provided by Cohere's platform |
| JINA | JINA | Models provided by Jina AI or Jina-compatible endpoints |
Usage
Used for specifying the provider type for embedders and rerankers in GoodMem.
Example in C#:
var embedderRequest = new EmbedderCreationRequest
{
DisplayName = "OpenAI Embedder",
ProviderType = ProviderType.OPENAI,
EndpointUrl = "[https://api.openai.com/v1",](https://api.openai.com/v1",)
ModelIdentifier = "text-embedding-3-large"
};