Skip to content

Commit

Permalink
Update agent/Retriever.py
Browse files Browse the repository at this point in the history
Co-authored-by: andresdiverGPT <[email protected]>
  • Loading branch information
Inaki-FF and andresdiverGPT authored Nov 24, 2023
1 parent 451061f commit dbf40fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/Retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, index_path):
self.llm = OpenAI(temperature=0, model="gpt-4-1106-preview")
self.service_context = ServiceContext.from_defaults(llm=self.llm)

def load_documents(files=files):
def load_documents(self, files):
self.docs = {}
for file in files.keys():
docs[file] = SimpleDirectoryReader(
Expand Down

0 comments on commit dbf40fa

Please sign in to comment.