Class: AIRecordFinder::Providers::Anthropic
- Defined in:
- lib/ai_record_finder/providers/anthropic.rb
Overview
Anthropic native Messages API (api.anthropic.com/v1/messages).
Differs from OpenAI: x-api-key auth + anthropic-version header, a top-level ‘system` prompt, a required `max_tokens`, and a response whose text lives in a `content` array of typed blocks rather than `choices`.
Constant Summary collapse
- ENDPOINT_PATH =
"messages"
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from AIRecordFinder::Providers::Base