mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
Add support for RAG
This commit is contained in:
parent
2156c94449
commit
b80eaffbe9
22 changed files with 552 additions and 900 deletions
29
start.sh
Executable file
29
start.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ensure data dirs exist
|
||||
mkdir -p data/uploads
|
||||
mkdir -p data/qdrant
|
||||
mkdir -p data/mongo
|
||||
|
||||
# Start with the base command and profile flags
|
||||
CMD="docker-compose"
|
||||
|
||||
# enable rag text and files workers
|
||||
CMD="$CMD --profile rag_text_worker"
|
||||
CMD="$CMD --profile rag_files_worker"
|
||||
|
||||
# enable rag urls worker
|
||||
if [ "$USE_RAG_SCRAPING" = "true" ]; then
|
||||
CMD="$CMD --profile rag_urls_worker"
|
||||
fi
|
||||
|
||||
# Add more mappings as needed
|
||||
# if [ "$SOME_OTHER_ENV" = "true" ]; then
|
||||
# CMD="$CMD --profile some_other_profile"
|
||||
# fi
|
||||
|
||||
# Add the up and build flags at the end
|
||||
CMD="$CMD up --build"
|
||||
|
||||
echo "Running: $CMD"
|
||||
exec $CMD
|
||||
Loading…
Add table
Add a link
Reference in a new issue