### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code



Weaviate(client=wv_conn,
                             index_name=index_name,
                             text_key="content",
                             by_text=False,
                             embedding=embeddings,
                             attributes=["page_id", "page_title", "caccess", "internal"])

metadata_filter =  {"path": ["page_id"],
                       "operator": "ContainsAny",
                       "valueText": ["1","2"]}

wvdb.similarity_search_with_score(query=query,
                                                             where_filter=metadata_filter,
                                                             k=top_k)

### Error Message and Stack Trace (if applicable)

ValueError: Error during query: [{'locations': [{'column': 6, 'line': 1}], 'message': 'explorer: get class: vector search: object vector search at index index_name: remote shard xfBTRVlYuIvE: status code: 500, error: shard index_name_xfBTRVlYuIvE: build inverted filter allow list: value type should be []string but is []interface {}\n: context deadline exceeded', 'path': ['Get', 'index_name']}]

### Description

I'm trying to do filter data on weaviate using "ContainsAny" operators. But I get this error. The program doesn't let me to filter on list of value

### System Info

langchain==0.0.354
langchain-community==0.0.18
langchain-core==0.1.19
weaviate-client==3.24.2
weaviate==1.22.0
Weavite "Containsany" Filter returns error
This is a GitHub Issue
repo:langchain
owner:langchain-ai
Title : Weavite "Containsany" Filter returns error
Issue date:

--- start body ---
### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code



Weaviate(client=wv_conn,
                             index_name=index_name,
                             text_key="content",
                             by_text=False,
                             embedding=embeddings,
                             attributes=["page_id", "page_title", "caccess", "internal"])

metadata_filter =  {"path": ["page_id"],
                       "operator": "ContainsAny",
                       "valueText": ["1","2"]}

wvdb.similarity_search_with_score(query=query,
                                                             where_filter=metadata_filter,
                                                             k=top_k)

### Error Message and Stack Trace (if applicable)

ValueError: Error during query: [{'locations': [{'column': 6, 'line': 1}], 'message': 'explorer: get class: vector search: object vector search at index index_name: remote shard xfBTRVlYuIvE: status code: 500, error: shard index_name_xfBTRVlYuIvE: build inverted filter allow list: value type should be []string but is []interface {}\n: context deadline exceeded', 'path': ['Get', 'index_name']}]

### Description

I'm trying to do filter data on weaviate using "ContainsAny" operators. But I get this error. The program doesn't let me to filter on list of value

### System Info

langchain==0.0.354
langchain-community==0.0.18
langchain-core==0.1.19
weaviate-client==3.24.2
weaviate==1.22.0
--- end body ---

None