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

Support Files as Input for Messages Exceeding Character Limit #2

Open
Muchaszewski opened this issue Jun 7, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Muchaszewski
Copy link
Contributor

Description:
I would like to have support for uploading files as input for messages that are too long to fit within the standard character limit of a single Slack message. This will allow users to provide more context and information when interacting with the GPT model, leading to better and more accurate responses.

Background:
The current implementation of the Slack GPT Bot can only see messages in text, however, when users need to send a message to the bot that exceeds the character limit, they must split the message into multiple parts, which can be cumbersome and may affect the quality of the generated responses. AI might fail to understand that there will be more parts to the message.

Proposed Solution:

  1. Implement a feature that allows users to upload a file (e.g., .txt, .docx, or .pdf) containing their input message when it exceeds the character limit.
  2. The bot should parse the file and extract the text content, ensuring compatibility with various file formats.
  3. The extracted text should then be passed to the GPT model for processing and generating a response.
  4. Consider implementing a character limit for the file content to prevent excessively large inputs that could negatively impact the performance of the bot and the GPT model.

Acceptance Criteria:

  • Users can upload a file containing their input message when it exceeds the character limit in a single Slack message.
  • The bot is able to parse the file and extract the text content, supporting a variety of file formats.
  • The GPT model generates a response based on the extracted text from the file.
  • A reasonable character limit is set for the file content to maintain optimal performance.

Additional Notes:

  • This feature should be thoroughly tested with various file formats and sizes to ensure compatibility and maintain performance standards.
  • Documentation should be updated to include information about the new feature and its usage.

Related Issues:

  • None
@Muchaszewski Muchaszewski added the enhancement New feature or request label Jun 7, 2023
@Muchaszewski Muchaszewski self-assigned this Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant