> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ravenna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat logs

> Review a Ravenna Agent's conversations, results, and feedback in its Chat logs tab, and use Ravenna Assistant to explain why it answered or escalated.

Every conversation between people and the agent is logged on the agent's **Chat logs** tab. Use it to review answers, find knowledge gaps, and track feedback.

## Result type reference

Every agent conversation is classified with a result type. These types indicate what the agent did and help diagnose performance issues.

| Result type | What happened | Diagnostic signal |
| - | - | - |
| Answered | Agent answered using knowledge base content | Successful resolution. High rate indicates good knowledge coverage. |
| Clarification | Agent asked for clarification | May indicate vague user requests or rules that need more specific triggers. |
| Ticket Created | Agent created a ticket or escalated | Expected for requests requiring human help. High rate may indicate knowledge gaps or overly aggressive escalation. |
| Help | Agent explained its own capabilities | Users are unsure what the agent can do. Consider updating channel messaging or agent introduction. |
| Missing Knowledge | Agent could not find relevant information | Knowledge gap. Add documentation covering this topic. |
| Conversational | General conversation without a specific outcome | Casual interaction. Not necessarily a problem. |
| Form Response | Agent presented a form based on a rule | Expected when rules direct form creation. |
| Form Field | Agent prompted the user to fill a specific form field | Expected during multi-step form intake. |
| Sensitive | Agent detected and handled sensitive information | Security measure activated. Review to confirm correct detection. |
| Error | Agent encountered a processing error | Technical issue. Investigate logs for root cause. |
| Custom Ticket | Agent created a ticket with a specialized form | Expected for custom form workflows. |
| Unpublished | Response was prepared but not sent | May indicate a system issue or interrupted conversation. |

***

## Feedback signals

User feedback (thumbs up/down) provides direct signal about response quality:

* **Positive feedback** indicates the response was helpful and accurate.
* **Negative feedback** indicates a problem. Common causes: incorrect information, missing information, wrong form selected, unhelpful response, or the agent should have escalated instead.

When "Create ticket on negative feedback" is enabled (default), negative reactions automatically generate a support ticket for human review. This creates a built-in feedback loop.

**Feedback rate** (percentage of responses receiving any feedback) indicates user engagement. Very low feedback rates may mean users are not aware of the feedback mechanism or do not find it convenient.

***

## Debugging patterns

### High "Missing Knowledge" rate

The agent frequently cannot find relevant information.

* **Likely cause:** Knowledge base gaps. The topics users ask about are not covered in connected knowledge folders.
* **Fix:** Review "Missing Knowledge" conversations to identify missing topics. Add documentation to the knowledge base. Verify the correct knowledge folders are connected to the agent.

### High escalation rate

The agent creates tickets or escalates to humans more often than expected.

* **Likely causes:** Escalation instructions are too aggressive, rules do not cover common scenarios, or knowledge base coverage is insufficient.
* **Fix:** Review "Ticket Created" conversations. If the agent could have answered from knowledge, add or improve knowledge content. If the agent escalated due to unclear rules, refine rule trigger conditions. If escalation instructions tell the agent to escalate too eagerly, adjust the thresholds.

### Frequent "ask user" responses

The agent asks for clarification too often.

* **Likely cause:** Rules lack specificity, so the agent cannot determine intent from the initial message. Alternatively, users are sending very short or ambiguous requests.
* **Fix:** Make rule trigger conditions more specific. Add examples of common phrasings to rules. Consider whether conversational form filling might help collect structured data.

### Negative feedback on knowledge answers

Users give thumbs down on answers that cite knowledge base articles.

* **Likely causes:** Knowledge base content is outdated, inaccurate, or insufficient. The agent may also be citing the wrong article.
* **Fix:** Review the cited articles for accuracy. Update or remove outdated content. Check if the agent's knowledge folder connections are correct.

### Wrong form selected

The agent presents the wrong form for a user's request.

* **Likely cause:** Rule trigger conditions overlap, causing the agent to match the wrong rule. Or a rule's trigger condition is too broad.
* **Fix:** Make trigger conditions more distinct across rules. Ensure each form-related rule has specific, non-overlapping trigger criteria.

***

## Optimization recommendations

* **Track result distribution weekly.** A sudden shift in result types (e.g., spike in "Missing Knowledge" or "Error") signals a configuration or content issue that needs investigation.
* **Review negative feedback conversations first.** These are the highest-signal data points for improving agent quality.
* **Use "Answered" rate as a primary metric.** This directly measures how often the agent successfully resolves requests without human intervention.
* **Monitor escalation rate as a secondary metric.** Some escalation is expected and healthy. The goal is not zero escalation, but appropriate escalation.
* **After making changes, compare before and after.** Check whether rule updates, knowledge additions, or escalation instruction changes actually improved the result distribution.


## Related topics

- [Go live](https://docs.ravenna.ai/guides/day-one/go-live.md)
- [Set up an AI agent](https://docs.ravenna.ai/guides/day-one/set-up-agent.md)
- [Testing Mode](https://docs.ravenna.ai/documentation/automate/agents/testing-mode.md)
- [Knowledge](https://docs.ravenna.ai/documentation/automate/agents/knowledge.md)
- [Writing agent rules](https://docs.ravenna.ai/guides/best-practices/writing-agent-rules.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.