nextcloud / nextcloud/assistant
Trim spaces and new lines in the outputs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 88
- Forks
- 43
- Avg merge
- 18h 49m
- Merged PRs (30d)
- 3
Description
Describe the feature you'd like to request
Outputs vary depending on the LLM used but most of them provide unsanitised texts with multiple spaces and/or new lines in the beginning and end of the output text. This can be trimmed for a better presentation.
Describe the solution you'd like
It can be trimmed in the assistant or in the text processing manager itself. I am not sure which is better.
Describe alternatives you've considered
-
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 assistant output handling and the text processing manager mentioned in the issue. Determine where generated text is presented, then verify that leading and trailing spaces and newlines are removed without changing the content between them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100