## Generate Commit Message `projects.generate_commit_message(**kwargs) -> ProjectGenerateCommitMessageResponse` **post** `/v0/projects/{project}/generate_commit_message` Generates an AI commit message by comparing two git refs in the SDK repository. ### Parameters - `project: String` - `target: :python | :node | :typescript | 10 more` Language target - `:python` - `:node` - `:typescript` - `:java` - `:kotlin` - `:go` - `:ruby` - `:terraform` - `:cli` - `:csharp` - `:php` - `:openapi` - `:sql` - `base_ref: String` Base ref for comparison - `head_ref: String` Head ref for comparison ### Returns - `class ProjectGenerateCommitMessageResponse` - `ai_commit_message: String` ### Example ```ruby require "stainless_v0" stainless = StainlessV0::Client.new( api_key: "My API Key", environment: "staging" # defaults to "production" ) response = stainless.projects.generate_commit_message( project: "project", target: :python, base_ref: "base_ref", head_ref: "head_ref" ) puts(response) ```