Skip to main content
Build a chatbot that can analyze images, PDFs, and other files alongside text.

Basic Multimodal Chatbot

Messages can contain multiple parts (text, images, files).

Using Message Objects

You can also use Message and content part objects for type safety:

PDF Analysis Chatbot

Multi-Image Comparison

Screenshot Debug Helper