移除废弃逻辑

This commit is contained in:
YILING0013
2025-02-06 22:51:11 +08:00
parent 2a2beac952
commit 21d151d4a6
2 changed files with 1 additions and 61 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ class OpenAIEmbeddingAdapter(BaseEmbeddingAdapter):
class OllamaEmbeddingAdapter(BaseEmbeddingAdapter):
"""
Ollama Embedding,示例中和之前的 embedding_ollama.py 类似
其接口路径往往为 /api/embeddings
其接口路径为 /api/embeddings
"""
def __init__(self, model_name: str, base_url: str):
self.model_name = model_name