Skip to main content

Module interop

Module interop 

Source
Expand description

Adapters for other crates, each behind its own optional feature.

FeatureAdds
async-openaiasync_openai: tokens from an async_openai chat completion response

Any other client works through JSON: crate::detect::parse_logprobs reads OpenAI-style, legacy completions-style and Gemini-style responses.

Modulesยง

async_openaiasync-openai
Adapter for async-openai (types only, no HTTP client).