I am able to execute the similar search with updated code:
query_results1 = index.query(
namespace="real",
vector=search_query,
top_k=3,
include_values=True
)
but on "query_results1.as_retriever()" I am getting error TypeError: 'NoneType' object is not callable.
I had checked if query_results1 is None. But I am getting data inside query_results1 in vector format:
{'matches': [{'id': '702',
'score': 0.868104219,
'values': [-0.0101173585,
0.00764723448,
I am able to execute the similar search with updated code: query_results1 = index.query( namespace="real", vector=search_query, top_k=3, include_values=True )
but on "query_results1.as_retriever()" I am getting error TypeError: 'NoneType' object is not callable.
I had checked if query_results1 is None. But I am getting data inside query_results1 in vector format: {'matches': [{'id': '702', 'score': 0.868104219, 'values': [-0.0101173585, 0.00764723448,
'namespace': 'real', 'usage': {'read_units': 6}}
Kindly guide here what wrong I am doing?