simonw / llm

Access large language models from the command-line
https://llm.datasette.io
Apache License 2.0
4.31k stars 237 forks source link

File upload support? #523

Open chrisspen opened 3 months ago

chrisspen commented 3 months ago

Does this package support uploading files to LLM APIs?

Searching the docs finds no mentions of it. https://llm.datasette.io/en/stable/search.html?q=uploading+file&check_keywords=yes&area=default

Many LLM service's have native APIs that support file uploading. It would be convenient if this package supported file uploads as well.

AlexanderYastrebov commented 1 month ago

See https://github.com/simonw/llm/issues/557