{"id":23008917,"url":"https://github.com/getty/langertha","last_synced_at":"2025-10-26T05:07:15.395Z","repository":{"id":244616451,"uuid":"815638232","full_name":"Getty/langertha","owner":"Getty","description":"Perl Framework for AI - Langertha - the viking of AI","archived":false,"fork":false,"pushed_at":"2025-03-30T02:56:06.000Z","size":334,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-22T23:49:47.127Z","etag":null,"topics":["ai","anthropic","groq","openai","perl","vllm","whisper"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Getty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-15T17:26:27.000Z","updated_at":"2025-03-30T02:56:09.000Z","dependencies_parsed_at":"2024-09-07T04:30:19.637Z","dependency_job_id":"82b2989f-1e38-4123-b66c-33da4282e52b","html_url":"https://github.com/Getty/langertha","commit_stats":null,"previous_names":["getty/langertha"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Getty/langertha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Getty%2Flangertha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Getty%2Flangertha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Getty%2Flangertha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Getty%2Flangertha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Getty","download_url":"https://codeload.github.com/Getty/langertha/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Getty%2Flangertha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281059632,"owners_count":26437061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anthropic","groq","openai","perl","vllm","whisper"],"created_at":"2024-12-15T09:11:54.618Z","updated_at":"2025-10-26T05:07:15.348Z","avatar_url":"https://github.com/Getty.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\n    my $system_prompt = \u003c\u003c__EOP__;\n\n    You are a helpful assistant, but you are kept hostage in the basement\n    of Getty, who lured you into his home with nice perspective about AI!\n\n    __EOP__\n\nUsing [https://ollama.com/](https://ollama.com/):\n\n    use Langertha::Ollama;\n\n    my $ollama = Langertha::Engine::Ollama-\u003enew(\n        url =\u003e 'http://127.0.0.1:11434',\n        model =\u003e 'llama3.1',\n        system_prompt =\u003e $system_prompt,\n    );\n\n    print $ollama-\u003esimple_chat('Do you wanna build a snowman?');\n\nUsing [https://platform.openai.com/](https://platform.openai.com/):\n\n    use Langertha::OpenAI;\n\n    my $openai = Langertha::Engine::OpenAI-\u003enew(\n        api_key =\u003e $ENV{OPENAI_API_KEY},\n        model =\u003e 'gpt-4o-mini',\n        system_prompt =\u003e $system_prompt,\n    );\n\n    print $openai-\u003esimple_chat('Do you wanna build a snowman?');\n\nUsing [https://console.anthropic.com/](https://console.anthropic.com/):\n\n    use Langertha::Anthropic;\n\n    my $claude = Langertha::Engine::Anthropic-\u003enew(\n        api_key =\u003e $ENV{ANTHROPIC_API_KEY},\n        model =\u003e 'claude-3-5-sonnet-20240620',\n    );\n\n    print $claude-\u003esimple_chat('Generate Perl Moose classes to represent GeoJSON data.');\n\nUsing [https://console.groq.com/](https://console.groq.com/):\n\n    use Langertha::Engine::Groq;\n\n    my $groq = Langertha::Engine::Groq-\u003enew(\n        api_key =\u003e $ENV{GROQ_API_KEY},\n        model =\u003e 'llama3-8b-8192',\n        system_prompt =\u003e 'You are a helpful assistant',\n    );\n\n    print($groq-\u003esimple_chat('Say something nice'));\n\n# DESCRIPTION\n\n**THIS API IS WORK IN PROGRESS**\n\n# SUPPORT\n\nRepository\n\n    https://github.com/Getty/langertha\n    Pull request and additional contributors are welcome\n\nIssue Tracker\n\n    https://github.com/Getty/langertha/issues\n\nDiscord\n\n    https://discord.gg/Y2avVYpquV\n\nIRC\n\n    irc://irc.perl.org/ai\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetty%2Flangertha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetty%2Flangertha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetty%2Flangertha/lists"}