application folder related changes:

* optimize content of requirements.txt
* upgrade libs
* fix imports
This commit is contained in:
Anton Larin
2024-01-27 16:25:19 +01:00
parent e8099c4db5
commit 9e04b7796a
4 changed files with 24 additions and 136 deletions

View File

@@ -1,11 +1,11 @@
from abc import ABC, abstractmethod
import os
from langchain.embeddings import (
OpenAIEmbeddings,
from langchain_community.embeddings import (
HuggingFaceEmbeddings,
CohereEmbeddings,
HuggingFaceInstructEmbeddings,
)
from langchain_openai import OpenAIEmbeddings
from application.core.settings import settings
class BaseVectorStore(ABC):