知识库文件总数超出限制100?如何解决 #470

Closed
opened 2026-02-21 17:27:16 -05:00 by yindo · 3 comments
Owner

Originally created by @facematter on GitHub (Sep 5, 2023).

1.限制100是可以修改的吗?出于什么理由?会降低回复速率吗?
2.如果不能修改,那有没有好一点的文本整理方案。

Originally created by @facematter on GitHub (Sep 5, 2023). 1.限制100是可以修改的吗?出于什么理由?会降低回复速率吗? 2.如果不能修改,那有没有好一点的文本整理方案。
yindo closed this issue 2026-02-21 17:27:16 -05:00
Author
Owner

@crazywoola commented on GitHub (Sep 5, 2023):

You can set the env vars TENANT_DOCUMENT_COUNT other than 100.
The main purpose of this is to reduce excessive use.

@crazywoola commented on GitHub (Sep 5, 2023): You can set the env vars `TENANT_DOCUMENT_COUNT` other than 100. The main purpose of this is to reduce excessive use.
Author
Owner

@knowsnotmuch commented on GitHub (Nov 29, 2023):

Hello @crazywoola - WHERE do I set this env var? Using the docker install ..

@knowsnotmuch commented on GitHub (Nov 29, 2023): Hello @crazywoola - WHERE do I set this env var? Using the docker install ..
Author
Owner

@Ps7ch3 commented on GitHub (Dec 14, 2023):

Hello @crazywoola - WHERE do I set this env var? Using the docker install ..

@knowsnotmuch Just add environment variables in your docker-compose.yaml

❯ head docker-compose.yaml
version: '3.1'
services:
  # API service
  api:
    image: langgenius/dify-api:0.3.30
    restart: always
    environment:
      TENANT_DOCUMENT_COUNT: 1000
@Ps7ch3 commented on GitHub (Dec 14, 2023): > Hello @crazywoola - WHERE do I set this env var? Using the docker install .. @knowsnotmuch Just add environment variables in your docker-compose.yaml ``` ❯ head docker-compose.yaml version: '3.1' services: # API service api: image: langgenius/dify-api:0.3.30 restart: always environment: TENANT_DOCUMENT_COUNT: 1000 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#470