Crate langsmith_rust

Crate langsmith_rust 

Source
Expand description

LangSmith Rust - Manual tracing for LangSmith

This crate provides a Rust implementation for manual tracing to LangSmith, similar to the Python and TypeScript SDKs.

Re-exports§

pub use client::LangSmithClient;
pub use config::Config;
pub use error::LangSmithError;
pub use error::Result;
pub use factories::TracerFactory;
pub use models::metrics::Metrics;
pub use models::AIMessage;
pub use models::HumanMessage;
pub use models::Message;
pub use models::Run;
pub use models::RunType;
pub use models::RunUpdate;
pub use models::SystemMessage;
pub use models::ToolCall;
pub use models::ToolMessage;
pub use observability::LangSmithObserver;
pub use observability::Observable;
pub use observability::ObservableNodeWrapper;
pub use observability::Observer;
pub use strategies::SerializationStrategy;
pub use strategies::TracingStrategy;
pub use tracing::trace_node;
pub use tracing::trace_node_sync;
pub use tracing::TraceContext;
pub use tracing::Tracer;

Modules§

client
config
error
factories
models
observability
strategies
tracing
utils

Functions§

init