fix: update vector store config
Browse files- Dockerfile +2 -2
- rag.env +1 -1
- scripts/vector-stores.json +5 -0
Dockerfile
CHANGED
|
@@ -21,11 +21,11 @@ RUN pwd
|
|
| 21 |
RUN ls -lash
|
| 22 |
RUN uv pip install -r requirements.txt
|
| 23 |
|
| 24 |
-
# in huggingface folder
|
| 25 |
COPY --chown=user scripts/* /app/scripts/
|
| 26 |
-
COPY --chown=user rag.env /app
|
| 27 |
RUN chmod +x scripts/docker-deploy.sh
|
| 28 |
|
|
|
|
|
|
|
| 29 |
ENV RUNNING_IN_DOCKER=1
|
| 30 |
|
| 31 |
CMD ["./scripts/docker-deploy.sh"]
|
|
|
|
| 21 |
RUN ls -lash
|
| 22 |
RUN uv pip install -r requirements.txt
|
| 23 |
|
|
|
|
| 24 |
COPY --chown=user scripts/* /app/scripts/
|
|
|
|
| 25 |
RUN chmod +x scripts/docker-deploy.sh
|
| 26 |
|
| 27 |
+
COPY --chown=user rag.env /app
|
| 28 |
+
|
| 29 |
ENV RUNNING_IN_DOCKER=1
|
| 30 |
|
| 31 |
CMD ["./scripts/docker-deploy.sh"]
|
rag.env
CHANGED
|
@@ -2,5 +2,5 @@ CHAT_MODEL=huggingface:Qwen/Qwen3.5-9B
|
|
| 2 |
GUARD_MODEL=huggingface:meta-llama/Llama-Guard-4-12B
|
| 3 |
MCP_CONFIG_FILE=
|
| 4 |
NON_DOMAIN_CHAT=true
|
| 5 |
-
VS_CONFIG_FILE=
|
| 6 |
|
|
|
|
| 2 |
GUARD_MODEL=huggingface:meta-llama/Llama-Guard-4-12B
|
| 3 |
MCP_CONFIG_FILE=
|
| 4 |
NON_DOMAIN_CHAT=true
|
| 5 |
+
VS_CONFIG_FILE=/app/scripts/vector-stores.json
|
| 6 |
|
scripts/vector-stores.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"embedding_model": "huggingface:BAAI/bge-m3:cheapest",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"domains": {
|
| 4 |
"NeuroML": {
|
| 5 |
"description": "The NeuroML standard for computational modelling in neuroscience and the associated software ecosystem",
|
|
|
|
| 1 |
{
|
| 2 |
"embedding_model": "huggingface:BAAI/bge-m3:cheapest",
|
| 3 |
+
"pre_prompt": "",
|
| 4 |
+
"fallback_to_training_data": {
|
| 5 |
+
"enabled": true,
|
| 6 |
+
"warning": "Note: information on the query could not be found in the vector stores; this answer is generated from the LLM's training data and should be verified."
|
| 7 |
+
},
|
| 8 |
"domains": {
|
| 9 |
"NeuroML": {
|
| 10 |
"description": "The NeuroML standard for computational modelling in neuroscience and the associated software ecosystem",
|