bstraehle commited on
Commit
621d0a8
·
1 Parent(s): 36f2aaf

Update rag_llamaindex.py

Browse files
Files changed (1) hide show
  1. 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
- #chunk_overlap = config["chunk_overlap"],
69
- #chunk_size = config["chunk_size"],
70
- #embed_model = "local",
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