Spaces:
Running
Running
Ilyas KHIAT
commited on
Commit
•
3b0c5c8
1
Parent(s):
676227c
whatif
Browse files- rag.py +1 -1
- requirements.txt +1 -1
rag.py
CHANGED
@@ -27,7 +27,7 @@ import unicodedata
|
|
27 |
load_dotenv()
|
28 |
index_name = os.environ.get("INDEX_NAME")
|
29 |
# Global initialization
|
30 |
-
embedding_model = "text-embedding-3-
|
31 |
|
32 |
embedding = OpenAIEmbeddings(model=embedding_model)
|
33 |
# vector_store = PineconeVectorStore(index=index_name, embedding=embedding)
|
|
|
27 |
load_dotenv()
|
28 |
index_name = os.environ.get("INDEX_NAME")
|
29 |
# Global initialization
|
30 |
+
embedding_model = "text-embedding-3-large"
|
31 |
|
32 |
embedding = OpenAIEmbeddings(model=embedding_model)
|
33 |
# vector_store = PineconeVectorStore(index=index_name, embedding=embedding)
|
requirements.txt
CHANGED
@@ -9,7 +9,7 @@ langchain-community
|
|
9 |
pydantic==2.9.2
|
10 |
openai==1.45.0
|
11 |
langchain==0.3.0
|
12 |
-
langchain-core
|
13 |
langchainhub
|
14 |
langchain-openai==0.2.0
|
15 |
faiss-cpu
|
|
|
9 |
pydantic==2.9.2
|
10 |
openai==1.45.0
|
11 |
langchain==0.3.0
|
12 |
+
langchain-core==0.3.0
|
13 |
langchainhub
|
14 |
langchain-openai==0.2.0
|
15 |
faiss-cpu
|