JarvisFastAPI / test /vector_store.py
jiarongqiu
first commit
733bea7
Raw History Blame
227 Bytes
from service import VectorStore
index_name = 'filecoin'
vector_store = VectorStore(index_name)
print(vector_store.search("what is filecoin",ret_json=True))
print(vector_store.marginal_search("what is filecoin",ret_json=True))