# New API Docs and AI Chat improvements

## API docs

We have released a new [Retreaver API documentation](https://learn.retreaver.com/api)  section that is easier to navigate and will provide a foundation for our efforts to expand and improve the Retreaver API.

What's new:

- API docs are available in AI Assistant on learn
- A new [Introduction to API](https://learn.retreaver.com/api/introduction) document 
- Support for code examples in multiple languages (Node.js/Ruby/Python)
- "Copy as Markdown" and an [LLMs.txt](https://learn.retreaver.com/api/llms.txt) file makes it easier for an AI agent to consume our API docs
- We also conducted a general clean up and review of our existing API docs 

You can still access our old API docs at [https://retreaver.github.io/core-api-docs/](https://retreaver.github.io/core-api-docs/)

## AI Assistant improvements

![](/media/73/73454955a8b4b19ec2293c807d955ecd34d869392bcde0bfef27f790c3a665b3.png)

We launched an **AI Assistant** chat on learn.retreaver.com earlier this year and are happy to see it has become a popular feature on Retreaver. If you haven't tried it yet you can ask questions about Retreaver and the AI will give you responses from our Documentation and API reference docs. 

![](/media/96/96a5096f6d58ec06fb3d2264b0a79b0439f0a627bd3170959af580ee5307076c.png)

We recently released some improvements to AI Assistant:

- Upgraded to the latest frontier LLM model
- Chat history
- Now provides shorter responses for simple questions, longer when needed
- Better handling for multiple questions in a single chat thread

We are also constantly expanding our documentation coverage which is the best way to improve AI responses. If you see any gaps in our documentation please let us know.