Re-exports§
Modules§
Macros§
- anyhow
- Construct an ad-hoc error from a string or existing non-
anyhow
error value.
Structs§
- Anthropic
Event Mapper - Anthropic
Language Model Provider - Anthropic
Model - Anthropic
Settings - Async
Body - Based on the implementation of AsyncBody in https://github.com/sagebind/isahc/blob/5c533f1ef4d6bdf1fd291b5103c22110f41d0bf0/src/body/mod.rs.
- Available
Model - Blocked
Http Client - Follow
Redirects - Http
Client With Proxy - An
HttpClient
that may have a proxy. - Http
Client With Url - An
HttpClient
that has a base URL. - Method
- The Request Method (VERB)
- Open
AiLanguage Model - Open
AiLanguage Model Provider - Open
AiSettings - Request
- Represents an HTTP request.
- Reqwest
Client - Response
- Represents an HTTP response
- Status
Code - An HTTP status code (
status-code
in RFC 9110 et al.). - Tool
Registry - Uri
- The URI component of a request.
- Url
- A parsed URL record.
Enums§
Traits§
- Http
Client - Http
Request Ext - Tool
- A tool that can be used by a language model.
- ToolDyn
Functions§
- count_
anthropic_ tokens - into_
anthropic - into_
open_ ai - poll_
read_ buf - Implementation from https://docs.rs/tokio-util/0.7.12/src/tokio_util/util/poll_buf.rs.html Specialized for this use case
- read_
proxy_ from_ env
Type Aliases§
- Result
Result<T, Error>