Skip to main content

Chat

This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run pnpm generate-formations-resource-docs to regenerate.

Creates a chat connected to an AI provider within the formation's project.

Syntax

type: chat
properties:
ai_provider_id: String
name: String
system_message: String
model: String

Output

The physical resource ID is the public ID of the created resource. Reference it from other resources with a ref expression:

some_field:
ref: MyChat

Properties

ai_provider_id

Public ID of the AI provider to use for this chat

Required: Yes Type: String


name

Human-readable label for the chat

Required: No Type: String Nullable: Yes


system_message

System message to set the assistant behaviour

Required: No Type: String Nullable: Yes


model

Model override; defaults to the AI provider's default model

Required: No Type: String Nullable: Yes