by aliyun · v1.0.0
Connect Alibaba Cloud Tablestore RAG service as Dify external knowledge base
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Integrate Alibaba Cloud Tablestore RAG service as a Dify external knowledge base. With this plugin, you can directly use Tablestore's enterprise-grade RAG capabilities in Dify applications, including vector search, full-text search, hybrid search, reranking, and more.
https://instanceName.RegionID.ots.aliyuncs.com)knowledgeBaseName)After installing the plugin, configure the following parameters:
| Parameter | Description | Example |
|---|---|---|
| Tablestore Endpoint | Endpoint URL of the Tablestore instance | https://instanceName.RegionID.ots.aliyuncs.com |
| Tablestore Instance Name | Name of the Tablestore instance | your-instance |
| Access Key ID | Alibaba Cloud Access Key ID | **** |
| Access Key Secret | Alibaba Cloud Access Key Secret | **** |
| Endpoint Protection Key | Optional. Access key to protect the endpoint | your-secret |
POST http://xxxx/e/xxxxx/retrieval/retrieval (Dify will automatically append this path)localhost with host.docker.internalNote:
- You MUST remove the trailing
/retrievalfrom the URL. Dify will automatically append this path when making requests.- If Dify is deployed locally via Docker, you MUST replace
localhostin the URL withhost.docker.internal, as the Docker container cannot access the host network throughlocalhost.- If you did not set an Endpoint Protection Key, you can enter any value for the API Key. Keep the endpoint URL confidential to prevent unauthorized access.
knowledgeBaseName)top_k: Passed to the OTS RAG backend, controls the number of retrieval results returnedscore_threshold: Filtered on the plugin side, results below this score will be discarded