Skip to content

Commit

Permalink
temp: fixing deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
giannis2two committed Jul 11, 2024
1 parent 94e2c87 commit a914ed8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/backend/tools/google_drive/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ async def call(self, parameters: dict, **kwargs: Any) -> List[Dict[str, Any]]:
if not id_to_texts:
return [{"text": ""}]

print("id_to_texts")
print(id_to_texts)

"""
Compass logic
"""
Expand All @@ -211,7 +208,6 @@ async def call(self, parameters: dict, **kwargs: Any) -> List[Dict[str, Any]]:
parameters={"index": index_name},
)

print("heyyyyy")
# handle creation/update of each file
for file_id in id_to_texts:
fetched_doc = None
Expand Down Expand Up @@ -289,7 +285,6 @@ async def call(self, parameters: dict, **kwargs: Any) -> List[Dict[str, Any]]:
parameters={"index": index_name},
)

print("hereeeeee")
# fetch documents from index
hits = compass.invoke(
action=Compass.ValidActions.SEARCH,
Expand All @@ -309,4 +304,6 @@ async def call(self, parameters: dict, **kwargs: Any) -> List[Dict[str, Any]]:
for chunk in hit["chunks"]
]

print("chunks")
print(chunks)
return chunks

0 comments on commit a914ed8

Please sign in to comment.