Crate inference_gateway_sdk

Source
Expand description

Inference Gateway SDK for Rust

This crate provides a Rust client for the Inference Gateway API, allowing interaction with various LLM providers through a unified interface.

Structs§

GenerateResponse
InferenceGatewayClient
Client for interacting with the Inference Gateway API
Message
A message in a conversation with an LLM
Model
Represents a model available through a provider
ProviderModels
Collection of models available from a specific provider
ResponseContent
SSEvents
Stream of Server-Sent Events (SSE) from the Inference Gateway API

Enums§

GatewayError
Custom error types for the Inference Gateway SDK
MessageRole
Provider
Supported LLM providers

Traits§

InferenceGatewayAPI
Core API interface for the Inference Gateway