Skip to content

Commit 543bebe

Browse files
authored
Externalize system_prompt. ConfigMap VolumeMount overwrites existing content. (#66)
1 parent ed8469e commit 543bebe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ run: check-env-run
108108
-v ./embeddings_model:/.llama/data/embeddings_model \
109109
-v ./vector_db/aap_faiss_store.db:$(CONTAINER_DB_PATH)/aap_faiss_store.db \
110110
-v ./lightspeed-stack.yaml:/.llama/data/lightspeed-stack.yaml \
111-
-v ./ansible-chatbot-system-prompt.txt:/.llama/distributions/ansible-chatbot/ansible-chatbot-system-prompt.txt \
111+
-v ./ansible-chatbot-system-prompt.txt:/.llama/distributions/ansible-chatbot/system-prompts/default.txt \
112112
--env VLLM_URL=$(ANSIBLE_CHATBOT_VLLM_URL) \
113113
--env VLLM_API_TOKEN=$(ANSIBLE_CHATBOT_VLLM_API_TOKEN) \
114114
--env INFERENCE_MODEL=$(ANSIBLE_CHATBOT_INFERENCE_MODEL) \

lightspeed-stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ user_data_collection:
1313
feedback_disabled: true
1414
transcripts_disabled: true
1515
customization:
16-
system_prompt_path: /.llama/distributions/ansible-chatbot/ansible-chatbot-system-prompt.txt
16+
system_prompt_path: /.llama/distributions/ansible-chatbot/system-prompts/default.txt

0 commit comments

Comments
 (0)