NAME

Langertha::Engine::Anthropic - Anthropic API

VERSION

version 0.001

SYNOPSIS

use Langertha::Anthropic;

my $claude = Langertha::Engine::Anthropic->new(
  api_key => $ENV{ANTHROPIC_API_KEY},
  model => 'claude-3-5-sonnet-20240620',
  max_tokens => 2048,
);

print($claude->simple_chat('Generate Perl Moose classes to represent GeoJSON data types'));

DESCRIPTION

THIS API IS WORK IN PROGRESS

HOW TO GET ANTHROPIC API KEY

https://docs.anthropic.com/en/api/getting-started

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/langertha

git clone https://github.com/Getty/langertha.git

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudss.us/

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.