Closed JayHsu5 closed 4 days ago
The error you're encountering with the Hybrid Search feature in Dify might be due to an incorrect GraphQL request format. The expected format for a GraphQL request in the Hybrid Search feature is as follows:
{
hybridSearch(query: "your_query_here") {
topK: 3
rerankModel: "your_rerank_model_api_key"
}
}
Ensure that your request adheres to this format, replacing "your_query_here"
with your actual query and "your_rerank_model_api_key"
with your actual rerank model API key [1].
Additionally, verify that your environment variables and configurations for the vector database and knowledge base are correctly set up, as these are crucial for the Hybrid Search feature to function properly in a self-hosted Docker setup [2][3].
To continue talking to Dosu, mention @dosu.
Self Checks
Dify version
0.6.11
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
Normal search content
❌ Actual Behavior
Error syntax error graphql request expected found string