Find answers from the community

Home
Members
Praddoom
P
Praddoom
Offline, last seen 6 months ago
Joined September 25, 2024
Hi, I am trying to retrieve some conversation data from QdrantDB, the points have already been pushed to Qdrant. And I just want to query some similar conversation in the following manner:


Plain Text
from qdrant_client import QdrantClient

client = QdrantClient(
    url="<qdrant_url>", 
    api_key=qdrant_key,
)



vector_store = QdrantVectorStore(client=client, collection_name="<collection_name>")
storage_context = StorageContext.from_defaults(vector_store=vector_store)
index = VectorStoreIndex.from_vector_store(vector_store=vector_store, storage_context=storage_context, embed_model=embed_model)
retriever = VectorIndexRetriever(index=index, similarity_top_k=10)

llm = OpenAI(model="gpt-3.5-turbo") 

query_engine = RetrieverQueryEngine.from_args(retriever=retriever, llm=llm)
response = query_engine.query("Find conversation around Food preferences?")


But while asking any query (last line), I always face issue: 1 validation error for TextNode text none is not an allowed value (type=type_error.none.not_allowed)
1 comment
L