# 1. Make the script executable chmod +x rag.awk # 2. Define your query and pipe the results directly into llama.cpp export QUERY="What are the main findings in the second quarter report?" ./rag.awk your_documents.txt | taskset -c 4-7 ./build/bin/llama-cli \ -m qwen0.5b.gguf \ -t 4 \ --temp 0.2 \ -p "You are a helpful assistant. Use the provided context to answer the question.\n$(cat)"