# Agentes de I.A. - Análise de Arquivos

Configurando análise de arquivos

Para utilizar a análise de arquivos por IA, é necessário configurar uma chave de API do Gemini na instância e habilitar essa funcionalidade. Nas configurações, é possível escolher o tamanho máximo de arquivo e as extensões de arquivos que a IA poderá ler.

Caso as extensões não sejam informadas, todas as opções possíveis poderão ser analisadas. Os formatos atualmente suportados são: mp4 (vídeo), mp3 (áudio), pdf (documento), png (imagem), \
jpeg (imagem),&#x20;csv (planilha), txt (documento), mpeg (áudio), wav (áudio), avi (vídeo)&#x20;e mpg (vídeo).

<figure><img src="/files/meJp70SETUzi37HoBIDW" alt=""><figcaption><p><em>Habilidades do agente.</em></p></figcaption></figure>

<figure><img src="/files/IboNfHBXN7ioc4IKml3K" alt=""><figcaption><p><em>Limitações da análise de arquivo.</em></p></figcaption></figure>

## Testando a funcionalidade

No exemplo abaixo, o lead estava interagindo com o Agente de I.A. quando enviou um PDF com informações relevantes para a conversa. O agente analisou o conteúdo do documento e respondeu com base tanto no seu treinamento quanto na base de dados disponível — neste caso, o estoque de produtos da loja.

<figure><img src="/files/bOjTkxZtuxBp9e0dMHHP" alt=""><figcaption><p><em>Conversa com o lead.</em></p></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://docs.sprinthub.com/topicos/inteligencia-artificial/agentes-de-ia/agentes-de-i.a.-analise-de-arquivos.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.
