RESTai is an AIaaS (AI as a Service) open-source platform. Built on top of LlamaIndex & Langchain. Supports any public LLM supported by LlamaIndex and any local LLM suported by Ollama/vLLM/etc. Precise embeddings usage and tuning. Built-in image generation (Dall-E, SD, Flux) and dynamic loading generators.
Methods from the database are replaced with the DBWrapper class. Unlike the Database class of the past, DBWrapper stores a database session. In the future, all calls to the DB will have to go through it.
DBWrapper is fully typed, types are specified everywhere inside it. Typing allows you to make your code clearer and simplify the IDE's task of calculating types.
Changes: