LocalAI/pkg
Steven Christou 01205fd4c0
Initial implementation of upload files api. (#1703)
* Initial implementation of upload files api.

* Move sanitize method to utils.

* Save uploaded data to uploads folder.

* Avoid loop if we do not have a purpose.

* Minor cleanup of api and fix bug where deleting duplicate filename cause error.

* Revert defer of saving config

* Moved creation of directory to startup.

* Make file names unique when storing on disk.

* Add test for files api.

* Update dependencies.
2024-02-18 10:12:02 +00:00
..
assets feat: embedded model configurations, add popular model examples, refactoring (#1532) 2024-01-05 23:16:33 +01:00
downloader feat: embedded model configurations, add popular model examples, refactoring (#1532) 2024-01-05 23:16:33 +01:00
gallery feat: embedded model configurations, add popular model examples, refactoring (#1532) 2024-01-05 23:16:33 +01:00
grammar feat(tools): support Tool calls in the API (#1715) 2024-02-17 10:00:34 +01:00
grpc transformers: correctly load automodels (#1643) 2024-01-26 00:13:21 +01:00
langchain feat: add LangChainGo Huggingface backend (#446) 2023-06-01 12:00:06 +02:00
model feat(tools): support Tool calls in the API (#1715) 2024-02-17 10:00:34 +01:00
stablediffusion feat: support upscaled image generation with esrgan (#509) 2023-06-05 17:21:38 +02:00
startup feat(startup): fetch model definition remotely (#1654) 2024-01-28 00:14:16 +01:00
tinydream feat: add tiny dream stable diffusion support (#1283) 2023-12-24 19:27:24 +00:00
utils Initial implementation of upload files api. (#1703) 2024-02-18 10:12:02 +00:00