Using Files and Artifacts in LibreChat

Tags ai LibreChat

Questions

  • Can I use sensitive data with LibreChat?
  • How do I upload files for the AI to reference in LibreChat?
  • What file types can LibreChat work with?
  • How do I manage or delete uploaded files?
  • What is the Artifacts feature and how do I use it?

Environment

This applies to Bowdoin College faculty, staff, and students who use LibreChat in a web browser. LibreChat is approved for use with sensitive data under Bowdoin’s data classification policy, and data entered will not be used to train large language models. Available features include file uploads for Retrieval-Augmented Generation and the Artifacts display option for interactive outputs.

Resolution

LibreChat offers a secure interface for prompting a variety of generative AI models along with the ability to use your documents to augment AI models' capabilities. It can serve as a centralized hub for all your AI conversations, providing a familiar, user-friendly interface enriched with advanced features and customization capabilities.

Using your files with LibreChat

LibreChat has been approved for use with sensitive data as defined by the colleges data classification policy. Learn more about data classification.

Data you enter will not be used to train large language models

In LibreChat, the Files feature allows you to upload images, or other supported files so the AI can reference their contents when generating responses. This is especially useful for tasks such as summarizing research papers, extracting key information from reports, reviewing code, or analyzing data tables. After uploading a file, you can ask the AI questions about its content or request specific actions. 

Use the 'Attach Files' icon in the left hand side of the message field to access the file upload options:

Attach Files icon

Upload files options in LibreChat

 

Once uploaded your file(s) will appear just above your prompt. The file(s) will be queried along with the large language model (see Retrieval-Augmented Generation definition).

File attached icon

 

You can add any previously uploaded files (to delete them for example) by clicking on the Attach Files option in the right hand customization column:

Attache Files option

 

Clicking on the Manage Files option will then open a window where you can view, select and delete files:

Manage Files option

You can also use the File Search artifact in the chat tools menu to tell the AI model to search all of your uploaded files when processing a prompt:

                           File Serach option.                           File Seacrh in message bar    

 

Using the Artifacts feature in LibreChat

In LibreChat, the Artifact feature is a way to present AI-generated results in a separate, persistent, and interactive window within the chat interface. Types of output that might be displayed as an Artifact include code, text documents, tables, images, or structured content.

N.B. Some available models work better with the Artifact feature than others. Experimentation will be your friend!

The Artifact feature can be access using the Tools button in the left hand corner of the message filed:

Tools pop up                     

 

In this example, with the Artifacts enabled, the prompt was answered and a second column appeared showing the code being written in real time. Once the prompt had finished processing the code in the Artifact could be previewed:

Artifact example 1

 

Artifact example 2

 

 

If you have questions, please contact the Service Desk at (207) 725-3030 or servicedesk@bowdoin.edu