Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rag task batching #8

Merged
merged 18 commits into from
Jul 20, 2024
Merged

Rag task batching #8

merged 18 commits into from
Jul 20, 2024

Conversation

hummerichsander
Copy link
Contributor

Enable Batching of RagReportInstances within one RagTask. Also enable concurrent LLM requests. The batch size of Rag Tasks is set via the RAG_TASK_BATCH_SIZE setting. The maximum number of concurrent requests to the LLM is set via the RAG_LLM_CONCURRENCY_LIMIT setting.

radis/settings/base.py Outdated Show resolved Hide resolved
radis/rag/factories.py Outdated Show resolved Hide resolved
radis/core/utils/chat_client.py Outdated Show resolved Hide resolved
radis/settings/base.py Outdated Show resolved Hide resolved
radis/rag/tasks.py Outdated Show resolved Hide resolved
@medihack medihack merged commit b1fd5a2 into main Jul 20, 2024
1 check passed
@medihack medihack deleted the rag-task-batching branch July 20, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants