You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m encountering an issue with the scores of retrieved chunks. Each score is returning as None. Could this be a problem with my code, or is it a potential bug?
Thank you for your help!
milvus_document_store = MilvusDocumentStore(
connection_args={
"uri": X
},
collection_name=X,
primary_field="X"
)
def get_pipeline(top_k=10):
pipeline = Pipeline()
pipeline.add_component("embedder", AzureOpenAITextEmbedder())
pipeline.add_component("retriever", MilvusEmbeddingRetriever(document_store=milvus_document_store, top_k=top_k)
pipeline.connect("embedder", "retriever")
return pipeline
pipeline = get_pipeline(top_k=10)
r = pipeline.run({"text": "X"})
for doc in r['retriever']['documents']:
print(doc.score)
> None
...
The text was updated successfully, but these errors were encountered:
Hello,
I’m encountering an issue with the scores of retrieved chunks. Each score is returning as None. Could this be a problem with my code, or is it a potential bug?
Thank you for your help!
The text was updated successfully, but these errors were encountered: