addyosmani / chatty

ChattyUI - your private AI chat for running LLMs in the browser
https://chattyui.com
MIT License
497 stars 41 forks source link

(feature) Expand the accepted file types to all but binary #32

Closed addyosmani closed 4 months ago

addyosmani commented 4 months ago

This PR updates the embedder and file uploader to handle all file types with the exception of a predefined list of files you might typically consider as binary / non-text. I believe this approach provides a simple, but flexible way for us to enable folks to try including many document and code formats that could potentially be processed okay.

image

Here's an example that processes a file from the repo.

@jakobhoeg By all means please feel free to improve on this or land if you feel its sufficient.

netlify[bot] commented 4 months ago

Deploy Preview for chatty-ai ready!

Name Link
Latest commit 0c3bc3ae0d3ecd2b97b4ea5eea995dd237bc12ff
Latest deploy log https://app.netlify.com/sites/chatty-ai/deploys/6658edb86503190008e2735b
Deploy Preview https://deploy-preview-32--chatty-ai.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.