nextcloud / nextcloud/context_chat
Expose max retrieved document chunks in the UI/task processing provider
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 29
- Forks
- 12
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 5
Description
Describe the feature you'd like to request
Add a field ctxLimit in the main ContextChat task processing task type to allow adjusting the no. of document chunks that are retrieved and packed into the query.
This change also needs to be done in the Assistant app.
Describe the solution you'd like
Describe alternatives you've considered
Increasing the default ctxLimit and context length of the queries in context_chat_backend.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the main ContextChat task processing task type and the corresponding Assistant app implementation. Trace how document chunks are retrieved and packed into queries, then expose an adjustable ctxLimit in both locations and verify that the configured limit is respected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend-api-design, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100