Skip to content

Commit

Permalink
Merge pull request #867 from SciPhi-AI/dev
Browse files Browse the repository at this point in the history
Release v0.2.85
  • Loading branch information
NolanTrem authored Aug 13, 2024
2 parents 7c5b9a6 + cccf915 commit 9fe50bf
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/integration-test-workflow-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,18 @@ jobs:
echo "Docker Down"
r2r docker-down
echo "Clean up Virtual Environment"
deactivate
rm -rf venv
docker stop $(docker ps -a -q)
cleanup:
needs: build-and-test
runs-on: [ self-hosted, Linux ]
if: always()
steps:
- name: Clean up Virtual Environment
run: |
if [ -d "venv" ]; then
deactivate || true
rm -rf venv
fi
docker stop $(docker ps -a -q) || true
docker system prune -af --volumes
docker network prune --force
docker volume rm $(docker volume ls -qf dangling=true)
docker volume rm $(docker volume ls -qf dangling=true) || true
4 changes: 3 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ services:
- PYTHONUNBUFFERED=1
- PORT=${PORT:-8000}
- HOST=${HOST:-0.0.0.0}
- BASE_URL=${BASE_URL:-http://localhost}

# R2R
- CONFIG_NAME=${CONFIG_NAME:-}
- CONFIG_PATH=${CONFIG_PATH:-}
Expand Down Expand Up @@ -130,7 +132,7 @@ services:
- "--accesslog.filepath=/var/log/traefik/access.log"
ports:
- "${TRAEFIK_PORT:-80}:${TRAEFIK_PORT:-80}"
- "8080:8080" # Traefik dashboard
- "${TRAEFIK_DASHBOARD_PORT:-8080}:${TRAEFIK_DASHBOARD_PORT:-8080}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
Expand Down
9 changes: 8 additions & 1 deletion r2r/examples/configs/local_llm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ batch_size = 32
add_title_as_prefix = true
concurrent_request_limit = 32

[ingestion]
[parsing]
excluded_parsers = [ "gif", "jpeg", "jpg", "png", "svg", "mp3", "mp4" ]

[agent]
system_instruction_name = "rag_agent"
tool_names = ["search"]

[agent.generation_config]
model = "ollama/llama3.1"
2 changes: 1 addition & 1 deletion r2r/examples/configs/local_llm_neo4j_kg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ base_dimension = 1_024
batch_size = 32
add_title_as_prefix = true

[ingestion]
[parsing]
excluded_parsers = [ "gif", "jpeg", "jpg", "png", "svg", "mp3", "mp4" ]

[kg]
Expand Down

0 comments on commit 9fe50bf

Please sign in to comment.