Update rag_llamaindex.py
Browse files- rag_llamaindex.py +2 -2
rag_llamaindex.py
CHANGED
@@ -66,8 +66,8 @@ class LlamaIndexRAG(BaseRAG):
|
|
66 |
|
67 |
def get_service_context(self, config):
|
68 |
return ServiceContext.from_defaults(
|
69 |
-
|
70 |
-
|
71 |
embed_model = OpenAIEmbedding(), # embed
|
72 |
llm = self.get_llm(config)
|
73 |
)
|
|
|
66 |
|
67 |
def get_service_context(self, config):
|
68 |
return ServiceContext.from_defaults(
|
69 |
+
chunk_overlap = config["chunk_overlap"],
|
70 |
+
chunk_size = config["chunk_size"],
|
71 |
embed_model = OpenAIEmbedding(), # embed
|
72 |
llm = self.get_llm(config)
|
73 |
)
|