Skip to content

Commit a9f2d90

Browse files
committed
auto_update activity_KB
1 parent 9c71543 commit a9f2d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/daily_activity-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Update activity_KB
3030
run: |
3131
curl --location --request POST ${{secrets.DIFY_BASE_URL}}/datasets/${{secrets.ACTIVITY_DATASET_ID}}/documents/${{secrets.ACTIVITY_DOCUMENTS_ID}}/update-by-file \
32-
--header 'Authorization: Bearer ${{secrets.KB_API_KEY}}' \aces", "enabled": true}, {"id": "remove_urls_emails", "enabled": false}], "segmentation": {"separator": "=END=", "max_tokens": 4000, "overlap": 0}}, "mode": "custom"}};type=application/json' \
32+
--header 'Authorization: Bearer ${{secrets.KB_API_KEY}}' \
3333
--form 'data={"name": "activity_result.txt", "indexing_technique": "high_quality", "process_rule": {"rules": {"pre_processing_rules": [{"id": "remove_extra_spaces", "enabled": true}, {"id": "remove_urls_emails", "enabled": false}], "segmentation": {"separator": "=END=", "max_tokens": 4000, "overlap": 0}}, "mode": "custom"}};type=application/json' \
3434
--form 'file=@crawler/output/activity/activity_result.txt'
3535

0 commit comments

Comments
 (0)