a33a37ec0a
build / build (push) Has been cancelled
Added @NotNull annotation to OllamaFunctionTool.name and OllamaFunctionTool.parameters since the documentation reports as these being required Made sure that OllamaFunctionTool.description is actually optional as the Ollama API docs define
MAL API wrapper
Important notes
Scope
This wrapper is not fully implemented, some endpoints are missing, as well as no user-specific endpoints are added.
Rate limits
I'm yet to enforce the rate limit, due to in there the Ollama backend won't be fast enough, but this is subject to change
API Key Required
You must provide your own API key
Store the key in ${DATE_DIR}/malapi.json using the following format:
{
"client_id": "<client_id>",
"client_secret": "<client_secret>"// This is for the moment not used but shuld till be added
}