simonw / llm

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

File upload support? #523

Open chrisspen opened 4 months ago

chrisspen commented 4 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 2 months ago

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