# Using AI Answers

{% embed url="<https://www.loom.com/share/024af5749ae3489f8551ed47e774a3c9?sid=e276ab7b-7d88-42b0-bd33-4f6aa059b7a6>" %}

AI Answers is Anycase.ai's generative AI (gen AI) feature. It's a core feature of the app that allows the user to ask legal questions, then get answers in seconds, complete with citations.

## Example queries

Follow along by logging in to your account.

### 1. Defining Res judicata

1. Search "*res judicata*": <https://app.anycase.ai/search?query=res+judicata>
2. Click "Get Answers" or "Try Intelligence Boost" to get a definition, analysis, and legal references related to the term

### 2. Ask a legal question

1. Search "*what is the crime when an employee steals from their employer?*": <https://app.anycase.ai/search?query=what+is+the+crime+if+an+employee+steals+from+their+employer?>
2. Click "Get Answers" or "Try Intelligence Boost" to get an answer to the question, with supporting definitions, analyses, and legal references

## Anycase.ai cites its sources

A very important component of AI Answers is its ability to cite legal references or sources when crafting its output.

AI Answers makes use of the same search results yielded by the semantic search engine.

You'll notice citations links included throughout AI Answers:

<figure><img src="/files/aaaYUliz5wPc5u5dWW62" alt="" width="563"><figcaption></figcaption></figure>

Clicking on these citation links will bring you to the corresponding search result which was used as basis of the AI Answer.&#x20;

<figure><img src="/files/DjfOYoFhzOam3FiXUG1F" alt="" width="563"><figcaption></figcaption></figure>

## Browse your AI Answer History

Want to review your previous queries on the app? You may return to your AI Answers any time through the sidebar on the left:

<figure><img src="/files/0kGwf4nwuiVxrBRDoZEZ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://handbook.anycase.ai/lessons/using-ai-answers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
