RAG Chat Website
Ask questions about a web page: the app reads the URL, retrieves the passages closest to your question and has the LLM you pick answer from them, with optional per-user chat history.
Overview
RAG Chat Website applies retrieval-augmented generation to a web page. It reads the page you point it at, cuts the text into overlapping chunks, finds the chunks closest to your question and passes them, with the question, to a language model that writes the answer. You choose that model: a chat LLM from Wiro's public list or a private model in your own account.
What you can build
- Support bots that answer from a help-center or documentation page.
- Research helpers that pull dates and figures out of long articles.
- Chat products for many users, each with its own history per conversation.
Inputs
- The page URL (default: the Wikipedia article on football).
- A required question.
- The base model, public or private.
- Optional user and session identifiers that keep a chat history; a new session identifier starts a fresh thread.
- A system prompt, which by default asks for helpful, honest answers.
- Retrieval settings: chunk size (10 to 8192 tokens, default 256), chunk overlap (default 25) and chunks retrieved (default 5).
- Generation settings: temperature (default 0.7), top-p, top-k, output length (left at 0, the reply budget is 2,048 tokens for a question of up to 2,048 tokens; you can set up to 4,096, and reasoning models always get 4,096), context window, a seed, and switches for sampling and quantization (less memory, possibly slightly lower quality).
Outputs
A text answer. In the page sample, asked when the first football game was played, it cites the earliest specific reference it found, a game in Shouldham, Norfolk, in 1321, then adds Canada's first documented match in 1861 and the Rutgers and Princeton game of 1869, noting that the answer depends on which football you mean.
Recommended settings
When the answer is spread across a long page, raise the number of retrieved chunks or the chunk size so more of the page reaches the model, at the risk of pulling in unrelated text. For repeatable answers, turn sampling off and lower the temperature.
Limitations
- The answer draws only on the text the app can extract from the page at the URL you give; it does not follow links to other pages.
- Only retrieved chunks reach the model, so whole-page tasks like full summaries can miss sections.
- Answer quality, language and length depend on the base model you select.
API quick start
Run rag-chat-website with a single API call.
{
"prompt": "When was the first football game played?",
"user_id": "...",
"session_id": "...",
"selectedModel": "..."
}curl -X POST "https://api.wiro.ai/v1/Run/wiro/rag-chat-website" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_WIRO_API_KEY" \
--data-binary @- <<'JSON'
{
"prompt": "When was the first football game played?",
"user_id": "...",
"session_id": "...",
"selectedModel": "..."
}
JSONOther models you might like
Explore similar llm & chat models.



