mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 09:33:14 +00:00
token ingeest
This commit is contained in:
@@ -7,7 +7,7 @@ from langchain.embeddings import OpenAIEmbeddings
|
||||
|
||||
dotenv.load_dotenv()
|
||||
embeddings_key = os.getenv("API_KEY")
|
||||
docsearch = FAISS.load_local('outputs/inputs', OpenAIEmbeddings(openai_api_key=embeddings_key))
|
||||
docsearch = FAISS.load_local('outputs', OpenAIEmbeddings(openai_api_key=embeddings_key))
|
||||
|
||||
d1 = docsearch.similarity_search("Whats new in 1.5.3?")
|
||||
print(d1)
|
||||
|
||||
Reference in New Issue
Block a user