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 functionality to upload files to MindsDB #113

Merged
merged 1 commit into from
May 8, 2024

Conversation

dusvyat
Copy link
Contributor

@dusvyat dusvyat commented May 6, 2024

This PR introduces various improvements to adding files to agents:

  • The issue with pdf upload was caused as suffix was being dropped during upload
  • I refactor file upload so it should support different file formats
  • Included a demo of retrieval agent in 'examples'

This commit extends the upload functionality of MindsDB by allowing users to upload files using its SDK. The changes include updating the rest_api connector to handle file reading and uploading, modifying the agents to use this new functionality, and providing a new example script to illustrate this use case.
@dusvyat dusvyat requested a review from tmichaeldb May 6, 2024 14:45
@dusvyat dusvyat mentioned this pull request May 6, 2024
Copy link
Contributor

@tmichaeldb tmichaeldb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work!

@tmichaeldb tmichaeldb merged commit 8dc61e4 into agents-web May 8, 2024
1 check passed
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