Rig 0.22.0 now available! #930
joshua-mo-143
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone! I'm happy to announce that Rig 0.22.0 is finally available and ready to use.
This time we have a bumper pack of new features. Let's go over the major changes first.
Evals (experimental)
We have now added evals under the
experimentalflag. Try them out and see what you think!We currently support three types of evals:
Judgmenttrait (or alternatively, a function pointer) to determine whether or not some metrics pass an evalTool servers
Tool servers are the new Rig way of essentially sharing tools between agents. You can add and remove tools while they are running, and once you run them you also obtain a tool server handle which you can clone between agents - handy!
The
AgentBuildercurrently allows usage of either a tool server handle, or alternatively if you just want to use the old way of adding tools to your agent you can still do that! Bear in mind however that you cannot have both a tool server handle and attach tools directly to your agent. If you want to do that, you need to add more tools via the tool server handle.Let us know your feedback! We're quite excited about this feature as it will allow us to do much more with tools.
Generic HTTP Clients
We have made extremely significant groundwork towards allowing you to use basically whatever HTTP client you want within Rig! Simply implement the
HttpClientExttrait, and you'll be up and away.reqwest::Clientis already implemented by default - if you don't care about using a HTTP client from another library, no change is required.Currently there are some minor gaps to be covered regarding streaming completions. However once we covered the gaps, this will be a fully complete feature and you'll be able to use HTTP clients from libraries like
ramaas well asreqwest-retryfor adding exponential backoff toreqwest::Client.Other things
discord-botfeature). Feel free to try it out and let us know what you think!Happy building! We build rig, rig builds us.
Link to full changelog: #877
Beta Was this translation helpful? Give feedback.
All reactions