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

Add Extra Multimedia Support for Telegram Client #1837

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

astinz
Copy link

@astinz astinz commented Jan 4, 2025

Relates to

Risks

Background

What does this PR do?

Adds more multimedia support to tg client. video, audio, and documents

What kind of change is this?

Features (non-breaking change which adds functionality)

Documentation changes needed?

Testing

Where should a reviewer start?

  1. Create an Agent with a TG Client
  2. Process a response with the attached media type

Detailed testing steps

await callback({
                text: YOUR RESPONSE,
                attachments: [{
                    id: "123456",
                    url: "https://github.com/MystenLabs/sui/raw/main/doc/paper/sui.pdf",
                    title: "Demo PDF Document",
                    source: "sui.io",
                    description: "A sample PDF document for demonstration purposes.",
                    text: "This is a demo PDF document used to showcase content extraction and processing. It contains sample text for testing purposes.",
                    contentType: "doc"
                }],
            });

Discord username

@em.eieiron

astinz and others added 15 commits December 23, 2024 00:30
* 'develop' of github.com:elizaOS/eliza: (478 commits)
  chore: bump version to v.0.1.7
  fix: generatioon tests for trimTokens
  chore: install with no frozen-lockfile flag
  Revert "fix(postgres): Handle vector extension creation properly (elizaOS#1561)"
  chore: remove unused import and var
  Removed FerePro plugin
  fix: line break handling in chat
  fix: handle env using runtime getSetting function
  feat: add validation to trimTokens
  feat: add JsDoc to trimTokens function
  Move encoding into try block to handle potential errors during model encoding.
  fall back if unsupported type
  fix(client): improve Windows compatibility for Vite dev server
  remove tokenizer service
  clean code
  restore test
  clean code
  move trimTokens to core
  feat: add Serbian README translation and enhance main README with new features and setup instructions
  use elizaLogger
  ...
- default every other mediaType to document except audio, image, video
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.

2 participants