|
| 1 | + |
1 | 2 | # mifosx-ai |
2 | | -Mifos X AI improve the experience of users implementing LLM, Vector Searching, RAG |
| 3 | + |
| 4 | +Mifos X AI improves the experience of users implementing LLMs, Vector Search and Retrieval-Augmented Generation (RAG) for the Mifos platform. |
| 5 | + |
| 6 | +This repository is in an early stage. The main goal is to provide connectors, example flows, and developer tools to integrate LLMs and vector stores with Mifos X features. |
| 7 | + |
| 8 | +## Quick start (local) |
| 9 | + |
| 10 | +Prerequisites |
| 11 | +- Java 21 (use the included Maven wrapper to keep Maven consistent) |
| 12 | +- Git |
| 13 | +- (Optional) An LLM provider API key or a local Ollama server if you want to test real LLM calls |
| 14 | +- (Optional) A vector DB endpoint for vector search |
| 15 | + |
| 16 | +1. Clone the repo |
| 17 | + git clone https://github.com/openMF/mifosx-ai.git |
| 18 | + cd mifosx-ai |
| 19 | + |
| 20 | +2. Build |
| 21 | + ./mvnw -B clean package |
| 22 | + |
| 23 | +3. Run (local profile) |
| 24 | + ./mvnw spring-boot:run -Dspring-boot.run.profiles=local |
| 25 | + |
| 26 | +4. Environment variables |
| 27 | + Copy the example .env.example and set your keys: |
| 28 | + cp .env.example .env |
| 29 | + Edit .env with your provider values (OPENAI_API_KEY, OLLAMA_URL, VECTOR_DB_URL, etc). |
| 30 | + |
| 31 | +5. Test a simple endpoint |
| 32 | + (Replace SERVER_PORT if configured differently) |
| 33 | + curl -v http://localhost:8080/actuator/health |
| 34 | + |
| 35 | + If the project exposes AI endpoints, the README will be updated with example curl requests once those endpoints are available. |
| 36 | + |
| 37 | +## Development notes |
| 38 | + |
| 39 | +- Use the Maven wrapper: ./mvnw |
| 40 | +- Run tests: ./mvnw test |
| 41 | +- Use the `local` profile or a `test` profile that uses in-memory/mocked vector stores for CI and development. |
| 42 | + |
| 43 | +## Suggested early contributions (good first tasks) |
| 44 | +- Add a full quickstart README (this file) — done. |
| 45 | +- Add CONTRIBUTING.md and issue/PR templates. |
| 46 | +- Add a simple health-check endpoint for AI dependencies (vector DB, LLM). |
| 47 | +- Add an in-memory vector store implementation to allow running RAG flows without external infra. |
| 48 | +- Add CI (GitHub Actions) to run tests on PRs. |
| 49 | + |
| 50 | +## Where to go next |
| 51 | +- Check the repo issues, pick a small doc/CI/health check task, and open a focused PR. |
| 52 | +- If you’re unsure about a larger change, open an issue describing the plan first to get feedback. |
| 53 | + |
| 54 | +## License |
| 55 | +MPL-2.0 (See repository license) |
0 commit comments