Closed boxter007 closed 3 weeks ago
Hey @boxter007! I'm here to help you with any bugs, questions, or contributions you might have. Let's tackle this together!
To resolve the permission issue where the user 'anonymous' has insufficient permissions to list schema/* when processing a file using the high-quality index mode and vector index in Dify version 0.6.13, you need to ensure that the API requests include the appropriate API-Key
in the Authorization
HTTP Header.
Here is an example of how to include the API-Key
in your request:
curl --location --request POST 'https://your-dify-instance/api/datasets/{dataset_id}/document/create_by_file' \
--header 'Authorization: Bearer {API_KEY}' \
--form 'data="{\"name\":\"Dify\",\"indexing_technique\":\"high_quality\",\"process_rule\":{\"rules\":{\"pre_processing_rules\":[{\"id\":\"remove_extra_spaces\",\"enabled\":true},{\"id\":\"remove_urls_emails\",\"enabled\":true}],\"segmentation\":{\"separator\":\"###\",\"max_tokens\":500}},\"mode\":\"custom\"}}";type=text/plain' \
--form 'file=@"/path/to/file"'
Make sure to replace {API_KEY}
with your actual API key and https://your-dify-instance
with the base URL of your Dify instance. This should resolve the permission issue by authenticating the request properly [1].
To continue talking to Dosu, mention @dosu.
do not make sence
I think it's related to this thread
Self Checks
Dify version
0.6.13
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
1、Start middleware using docker-compose.middleware.yaml 2、Knowledge-->create knowledge-->choose one file -->index mode (High Quality),vector index(jina-embeddings-v2-base-zh| rerank:jina-reranker-v2-base-multilingual)-->save and process-->ERROR:
✔️ Expected Behavior
No response
❌ Actual Behavior
No response