tubedude

tubedude

Anthropic_community - Anthropic library that handles function invocation from the LLM

Hello, hello! :wink:

I’m excited to share a new library I’ve been working on: anthropic_community. It’s an unofficial Elixir wrapper for the Anthropic API , over-engineered to make it easier to interact with the powerful Claude LLM model.

:key: Key Highlights:

  • Function Invocations: One of the standout features is the ability to register and execute custom tool modules. By implementing the Anthropic.Tools.ToolBehaviour, you can dynamically handle function invocations from the assistant’s responses. This opens up exciting possibilities for integrating domain-specific tools and extending the capabilities of the AI.
  • Image integration: It will read images from paths, base64 or binary, validate them and send out to the AI.
  • Telemetry Integration: The library integrates with :telemetry library, emitting events for key operations. This enables you to monitor and observe the duration of each interaction of the ai and the amount of tokens used.

:package: You can find the package on Hex: anthropic_community | Hex

This is my first library in quite some time, so I welcome any feedback and suggestions, especially regarding the function invocation module. I’m excited to hear your thoughts and ideas!

P.S: for the 16 of you that tried it before version 0.4.0, please give it a new try.

Most Liked

dtew

dtew

Congratulations! I like Claude 3 very much but have mostly used through the chat so far. I have used the REST API to construct ‘sophisticated’ prompts, so I hope to explore anthropic_community as soon as I can.

Where Next?

Popular in Announcing Top

zorbash
I created Kitto a framework for dashboards inspired by Dashing. The distributed characteristics of Elixir and the low memory footprint...
New
mischov
import Meeseeks.CSS html = HTTPoison.get!("https://news.ycombinator.com/").body for story <- Meeseeks.all(html, css("tr.athing")) do...
New
Azolo
Hey everyone, I just released WebSockex which is a Elixir WebSocket client. WebSockex strives to work as a OTP special process, be RFC6...
New
tmbb
PhoenixWS - Websockets over Phoenix Channels Source code on Github here: GitHub - tmbb/phoenix_ws: Websockets implemented over Phoenix Ch...
New
kevinlang
Hey all, We have made an Ecto3 Adapter for SQLite3, ecto_sqlite3! We have successfully on-boarded the full suite of integration tests (...
New
trisolaran
Hi! :waving_hand: I would like to present LiveSelect, a little library that I wrote to easily add a dynamic selection input to your LV f...
198 11220 107
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36654 110
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44532 311
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement