Short answer: for a marketplace knowledge-base bot that tracks developer changelogs, retrieve small release-level chunks, filter by dependency and validity time, then rank with lexical relevance, semantic relevance, freshness, and authority as separate signals whose values are logged for every answer. Keep raw source text long enough to replay disputed answers, but don't retain every intermediate embedding and candidate list forever.
The bill is mostly a multiplication problem: sources x polling frequency x retained versions x indexing work, plus retrieval and generation per question. Generation is visible, but a tracker that repeatedly fetches unchanged pages and embeds whole histories pays the same ingestion tax again and again. Before tuning a ranker, measure changed_bytes , chunks_written , embedding_inputs , candidate_reads , and answer_tokens by source and day.…