Class: Roseflow::OpenRouter::Operations::Completion

Inherits:
Base
  • Object
show all
Defined in:
lib/roseflow/open_router/operations/completion.rb

Overview

Chat operation.

Given a list of messages comprising a conversation, the model will return a response.

See openrouter.ai/docs for more information.

The OpenRouter API is compatible with OpenAI Chat API. See platform.openai.com/docs/api-reference/chat/create for more.

Method Summary

Methods inherited from Base

#body