Don B. Moving the conversation here. https://arize-ai.slack.com/archives/C016XGKCG0P/p1724707097601369
Don B. - filed an issue for this one. In the meantime, you can hack around the issue by updating your code to set the model param automatically:
fastembed_sparse_doc_component = FastembedSparseTextEmbedder(model="Qdrant/bm42-all-minilm-l6-v2-attentions")
fastembed_sparse_doc_component.model = "Qdrant/bm42-all-minilm-l6-v2-attentions"
hybrid_query.add_component("sparse_text_embedder", fastembed_sparse_doc_component)
fastembed_dense_doc_component = FastembedTextEmbedder(model="BAAI/bge-small-en-v1.5", prefix="Represent this sentence for searching relevant passages: ")
fastembed_dense_doc_component.model = "BAAI/bge-small-en-v1.5"
hybrid_query.add_component("dense_text_embedder", fastembed_dense_doc_component)Here's the defect I created: https://github.com/Arize-ai/openinference/issues/967
Check back soon for a fix.
suspect that user error may be a factor here, or something that may be covered in more detailed docs. I've noticed that the Haystack examples in this directory are much simpler, but I have not run them yet: https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-haystack/examples
Mischief managed. Great turnaround on the issue. Here's an updated version showing that the issue is resolved. https://colab.research.google.com/drive/1IcbRKq4seCHCaKKNmOSNiNJIwKIsj3T9?usp=sharing
