Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/tutorial-hosted-agent-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,13 @@ request_field: message
response_field: text
```

If your endpoint returns retrieval context or retrieved documents in the same
JSON response as the answer, capture those fields with `response_fields` instead
of relying only on static dataset `context`. In evaluator `input_mapping`,
`$context` still refers to the dataset row, while `$response.context` refers to
the context captured from the live endpoint response. See
[`how-it-works.md`](how-it-works.md) for the full grey-box retrieval example.

The `.agentops/.env` file is intentional: AgentOps keeps local Azure values out
of source control while eval, Doctor, and Cockpit commands resolve the same
workspace environment. The Foundry project endpoint lives there instead of in
Expand Down