Skip to contents

All functions

ask_rag_store()
Ask a query using a ragcat RAG store
build_rag_store()
Build a ragcat RAG store
compose_rag_chat_system_prompt()
Compose the system prompt for a ragcat chat
download_servcat_files()
Download files for ServCat references
extract_file_text_for_screening()
Extract searchable text from a file
extract_structured_json_block()
Extract a structured JSON code block from a RAG answer
extract_summary_response()
Extract the summary section from a RAG answer
find_text_hits()
Find fixed-string text hits
format_retrieved_context()
Format retrieved chunks for prompting
list_local_source_files()
List local source file candidates
make_rag_chat()
Create an ellmer chat with a ragcat retrieval tool
make_rag_messages()
Create system and user messages for a RAG answer
make_screening_excerpt()
Make a short screening excerpt
make_servcat_queries()
Construct ServCat Quick Search queries
parse_structured_evidence()
Parse structured evidence from a RAG answer
read_text_file()
Read a text or Markdown file
resolve_output_instructions()
Resolve ragcat output instructions
resolve_system_prompt()
Resolve a ragcat system prompt
retrieve_rag_context()
Retrieve context from a ragcat store
save_rag_answer_outputs()
Save RAG answer outputs
saved_system_prompt_file()
Return the conventional saved system prompt path
screen_local_files()
Screen local source files
screen_servcat_downloads()
Screen downloaded ServCat files
search_servcat_references()
Search ServCat references