Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanuelCampos committed Sep 29, 2023
1 parent 4c93c6b commit 2947338
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions llama_hub/macrometa_gdn/base.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""Macrometa GDN Reader."""

from typing import Any, List
import requests, json
from typing import List
import requests
import json

from llama_index.readers.base import BaseReader
from llama_index.readers.schema.base import Document

class MagrometaGDNReader(BaseReader):
class MacrometaGDNReader(BaseReader):
"""Macrometa GDN Reader.
Reads vectors from Macrometa GDN
Expand Down Expand Up @@ -79,6 +80,6 @@ def _load_collection(self, collection_name: str) -> str:
return str(all_documents)

if __name__ == "__main__":
reader = MagrometaGDNReader("https://api-anurag.eng.macrometa.io", "test")
reader = MacrometaGDNReader("https://api-anurag.eng.macrometa.io", "test")
print(reader.load_data(collection_list=["test"]))

0 comments on commit 2947338

Please sign in to comment.