nextcloud / nextcloud/spreed

Add the ability for bots to receive previous messages in the chat

Open
#10,401 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: api 🛠️ feature: bots 🤖
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
For many bots like integrating with ChatGPT (as an example), it is highly desirable to know the context of the conversation and previous chat messages are very important, and not only last message with direct request to bot.
Examples of such bots:

  • Mood detection bot - analyze the last 10/20 messages and chats and make a brief conclusion about whether they are stressful, angry, playful or unusual.
  • Chat IQ - analyzes all messages from one point to another, calculate the complexity of words, sentences and their repetition, and also show results about their connections.

Describe the solution you'd like
Something like this: receive-chat-messages-of-a-conversation but without much additional flags and without pulling.

Describe alternatives you've considered
An option like: "get all messages no older than the selected time or no more than 10 messages."

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked receive-chat-messages-of-a-conversation documentation and trace the existing bot or chat-message API entry point; the issue names no repository file or test. Done means bots can receive bounded conversation history by a selected time range or message count without extra flags or pulling.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.