Icon

02 Multimodal prompting

<p>This workflow demonstrates how to <strong>prompt an LLM using both text and images.</strong></p><p>Textual data from insurance claims and corresponding accident images are imported, combined into row-wise multimodal prompts, and sent to a connected LLM. The model then returns a severity assessment for each accident based on both the text and image inputs.</p>
Annotations and comments
  • 02 Multimodal Prompting - Car Accident Severity Analysis This workflow demonstrates how to prompt an LLM using both text and images to assess car accident severity. Textual data from insurance claims and corresponding accident images are imported, combined into row-wise multimodal prompts, and sent to a connected LLM. The model then returns a severity assessment for each accident based on both the text and image inputs.
  • Import textual data (car accident insurance claims) and images (accident images) and combine them into a multimodal prompt
  • Set up the OpenAI API key, authenticate, and select the LLM
  • For each claim, send the multimodal prompt to an LLM to assess severity
  • Prompt an LLM with both text and images
  • Combine insurance claims and accident images into a message for the prompt
  • Import images from paths to the table
  • Insurance claims & accident image paths
  • View the results of the LLM analysis

Nodes

Extensions

Links