BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.
Python ai-agentsai-memoryknowledge-graphknowledge-managementknowledge-representationreccomendation-system
build(Dockerfile): venv installation path
Christianc9ec44f921ef
diff --git a/README.md b/README.mdindex ef6bc4d..0328c19 100644--- a/README.md+++ b/README.md@@ -1,5 +1,5 @@<p align="center">- <img src="https://img.shields.io/badge/version-2.0.1--dev-blue?style=for-the-badge" alt="Version"/>+ <img src="https://img.shields.io/badge/version-2.0.3--dev-blue?style=for-the-badge" alt="Version"/><img src="https://img.shields.io/badge/python-3.11+-green?style=for-the-badge&logo=python&logoColor=white" alt="Python"/><img src="https://img.shields.io/badge/license-AGPLv3%20%2B%20Commons%20Clause-purple?style=for-the-badge" alt="License"/></p>diff --git a/entrypoint.sh b/entrypoint.shindex 41dd315..bf2a42c 100644--- a/entrypoint.sh+++ b/entrypoint.sh@@ -1,12 +1,13 @@#!/bin/bashset -e-if [ ! -d "/app/.venv" ] || [ ! -f "/app/.venv/bin/python" ]; then+if [ ! -f "/app/.venv/bin/python" ] || ! /app/.venv/bin/python -c "import sentence_transformers" 2>/dev/null; thenecho "Installing dependencies..."poetry config virtualenvs.in-project true+ poetry lock --no-updatepoetry install --no-root --sync- .venv/bin/pip uninstall -y torch- .venv/bin/pip install torch --index-url https://download.pytorch.org/whl/cpu --no-cache-dir+ /app/.venv/bin/pip uninstall -y torch || true+ /app/.venv/bin/pip install torch --index-url https://download.pytorch.org/whl/cpu --no-cache-dirfiecho "Checking for sentence-transformers model..."diff --git a/pyproject.toml b/pyproject.tomlindex 7bd30f2..2588477 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "brainapi2"-version = "2.0.4-dev"+version = "2.0.5-dev"description = "Version 2.x.x of the BrainAPI memory layer."authors = [{name = "Christian",email = "[email protected]"}