Find answers from the community

Updated 2 years ago

I believe there is a bug in the Weaviate

At a glance
I believe there is a bug in the Weaviate vector store implementation when hybrid mode is used.
Getting the exception:
Plain Text
AttributeError: 'GetBuilder' object has no attribute 'similarity_top_k'

I believe the cause is this line: https://github.com/jerryjliu/llama_index/blob/main/llama_index/vector_stores/weaviate.py#L189
The assignment of query_builder.with_hybrid should be done to query_builder not the query object.
L
1 comment
Yea that seems like a typo. Feel free to raise a PR, or I can in a bit πŸ™‚
Add a reply
Sign up and join the conversation on Discord