Spaces:
Build error
Build error
Update rag_llamaindex.py
Browse files- rag_llamaindex.py +3 -3
rag_llamaindex.py
CHANGED
@@ -65,9 +65,9 @@ class LlamaIndexRAG(BaseRAG):
|
|
65 |
|
66 |
def get_service_context(config):
|
67 |
return ServiceContext.from_defaults(
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
llm = self.get_llm(config)
|
72 |
)
|
73 |
|
|
|
65 |
|
66 |
def get_service_context(config):
|
67 |
return ServiceContext.from_defaults(
|
68 |
+
chunk_overlap = config["chunk_overlap"],
|
69 |
+
chunk_size = config["chunk_size"],
|
70 |
+
embed_model = "text-embedding-ada-002",
|
71 |
llm = self.get_llm(config)
|
72 |
)
|
73 |
|