Closed earth2travis closed 2 months ago
Gaia config params:
prompt_type
var on start scriptsystem-message
or last-user-message
Script to start the rag-api-server
with snapshot:
cmd=(wasmedge --dir .:./dashboard \
--env NODE_VERSION=$installer_version \
--nn-preload default:GGML:AUTO:$chat_model_name \
--nn-preload embedding:GGML:AUTO:$embedding_model_name \
rag-api-server.wasm \
--model-name $chat_model_stem,$embedding_model_stem \
--ctx-size $chat_ctx_size,$embedding_ctx_size \
--batch-size $chat_batch_size,$embedding_batch_size \
--prompt-template $prompt_type,embedding \
--rag-policy $rag_policy \
--qdrant-collection-name $embedding_collection_name \
--qdrant-limit $qdrant_limit \
--qdrant-score-threshold $qdrant_score_threshold \
--web-ui ./ \
--socket-addr 0.0.0.0:$llamaedge_port)
--rag-prompt" "$rag_prompt" # if not empty
--reverse-prompt "$reverse_prompt" # if not empty
rag-api-server
entrypoint:
Conduct comprehensive testing of the outputs generated by the pipeline and Gaia node. The testing process will include validating the accuracy and completeness of the data embeddings, ensuring that the system performs as expected under different conditions. Identifying and addressing any issues during this phase is crucial for delivering a reliable and robust solution.