Skip to content

Commit b443528

Browse files
committed
Changed Class name
1 parent 5b57be0 commit b443528

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: core/cat/factory/embedder.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class EmbedderCohereConfig(EmbedderSettings):
107107
)
108108

109109

110-
class EmbedderFastEmbedConfig(EmbedderSettings):
110+
class EmbedderQdrantFastEmbedConfig(EmbedderSettings):
111111
model_name: str = "BAAI/bge-base-en"
112112
max_length: int = 512 # Unknown behavior for values > 512.
113113
doc_embed_type: str = "passage" # as suggest on fastembed documentation, "passage" is the best option for documents.
@@ -116,10 +116,11 @@ class EmbedderFastEmbedConfig(EmbedderSettings):
116116

117117
model_config = ConfigDict(
118118
json_schema_extra = {
119-
"humanReadableName": "Fast Embedder",
120-
"description": "Configuration for Fast embeddings",
119+
"humanReadableName": "Qdrant FastEmbed (Local)",
120+
"description": "Configuration for Qdrant FastEmbed",
121121
}
122122
)
123+
123124

124125

125126
SUPPORTED_EMDEDDING_MODELS = [
@@ -129,7 +130,7 @@ class EmbedderFastEmbedConfig(EmbedderSettings):
129130
EmbedderOpenAIConfig,
130131
EmbedderAzureOpenAIConfig,
131132
EmbedderCohereConfig,
132-
EmbedderFastEmbedConfig
133+
EmbedderQdrantFastEmbedConfig
133134
]
134135

135136

0 commit comments

Comments
 (0)