mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-03 19:49:17 +02:00
18 lines
285 B
Python
18 lines
285 B
Python
from enum import Enum
|
|
|
|
|
|
class EmbeddingProvider(str, Enum):
|
|
OPENAI = "openai"
|
|
COHERE = "cohere"
|
|
VOYAGE = "voyage"
|
|
GOOGLE = "google"
|
|
|
|
|
|
class RerankerProvider(str, Enum):
|
|
COHERE = "cohere"
|
|
|
|
|
|
class EmbedTextType(str, Enum):
|
|
QUERY = "query"
|
|
PASSAGE = "passage"
|