Zacharias 9b3c6c20b8 Well lot's in this
Some API modifications/additions

Starting the implementation of a local file system for the AI to use

Staring to try to migrate the ./cache, ./logs, ./messages, and ./pythonFiles to more appropiet locations depenidng on OS
2025-03-25 23:25:29 +01:00
2025-03-25 23:25:29 +01:00
2025-03-25 23:25:29 +01:00
2025-03-25 23:25:29 +01:00
2025-02-20 18:00:16 +01:00
2025-03-25 23:25:29 +01:00
2025-03-25 23:25:29 +01:00
2025-02-20 18:00:16 +01:00
2025-02-20 18:00:16 +01:00
2025-02-21 00:12:10 +01:00
2025-03-14 08:56:54 +01:00

Chat thing

(better name pending probably)

What is it?

Well it's basically a font end for Ollama like Open-WebUI, but meant to run a local model and open up a somewhat easy to use API system for tools.

Use cases?

While the primary goal is providing a somewhat more modular frontend for Ollama, you can also use this system to integrate AI into your own application, For example AI could act as a player in a game or interact with external system with the use of tools via the API

simple examples are in the Display module where i gave it the ability to access python through docker and get the current date and time both with the OllamaFunctionTool thru my Ollama framework

API

The documentation for the API is available at the gitea wiki under API docs

How to run?

To run you need to build the launcher module
$ ./gradlew :launcher:shadowJar
This will put the launcher-1.0-all.jar(or similar, based on the version) in ./launcher/build/libs, this can now be copied anywhere and can be ran with
$ java -jar launcher-1.0-all.jar
you can use the -h argument to get a help message.

Launch options for AI_chat
-h  --help      Provides this help message
-s  --server    Starts the application as API server
-p  --port      Provides the port number that the API server should use, defaults to 39075
-o  --output    Redirects the API Server output to another file
    --api       Provides API docs

If you only want to build the Display or API module you can use the same command but replace launcher with the desire module.

  • API: $ ./gradlew :API:shadowJar
  • Display: $ ./gradlew :Display:shadowJar
  • Core: $ ./gradlew :Core:shadowJar
    • However this one is kinda useless unless you want to directly implement the system into your application
Description
No description provided
Readme MIT 356 KiB
Languages
Java 99.4%
Python 0.6%