Literal AI
Literal AI is a collaborative platform for building production-grade LLM apps.
Literal AI Platform Overview
Literal AI is a collaborative observability, evaluation and analytics platform for building production-grade LLM apps. Literal AI offers multimodal logging, including vision, audio, and video.
Literal AI can be leveraged as a data persistence solution, allowing you to quickly enable data storage and analysis for your Chainlit app without setting up your own infrastructure.
Literal AI has a data retention policy available here.
Log your conversations threads and agent runs to Literal AI
Sign in to Literal AI
Navigate to Literal AI and sign in.
Create a New Project
You will be prompted to create a new project:
Project Creation Screen
Get Your API Key
Navigate to the Settings
page. A default API key will be generated for you
Project API Key
Set the API Key in your Chainlit App
Once you have an API key, you will need to pass it via a LITERAL_API_KEY
environment variable.
Next to your Chainlit application, create a .env
file and modify it like so:
Or inlined:
Or inlined for Windows powershell:
Once activated, your chats and elements will be persisted on Literal AI.
Deactivation
If you wish to deactivate data persistence, simply comment out or remove the LITERAL_API_KEY
environment variable.
Data privacy & security
We prioritize your data’s privacy and security. We understand how crucial the data fed into Chainlit Cloud is for your business and handle it with utmost care.
Contact us for detailed information: contact@chainlit.io
Was this page helpful?