script folder related changes:

* optmize content of requirements.txt
* upgrade libs
* fix imports
This commit is contained in:
Anton Larin
2024-01-27 14:58:08 +01:00
parent bf808811cc
commit e8099c4db5
8 changed files with 22 additions and 147 deletions

View File

@@ -6,7 +6,7 @@ from pathlib import Path
import dotenv
import faiss
import tiktoken
from langchain.embeddings import OpenAIEmbeddings
from langchain_openai import OpenAIEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import FAISS

View File

@@ -8,7 +8,7 @@ from pathlib import Path
import dotenv
import faiss
import tiktoken
from langchain.embeddings import OpenAIEmbeddings
from langchain_openai import OpenAIEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.vectorstores import FAISS
from sphinx.cmd.build import main as sphinx_main