Anthropic::Completion
Inherits JSON::Serializable < Struct < Value < Object
[Legacy] Text Completion object returned by the Completions API.
The Text Completions API is a legacy API; prefer the Messages API for new code. Future models and features are not compatible with Text Completions. See the migration guide in the Anthropic docs for guidance on moving from Text Completions to Messages.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source