Files
owlen/crates/llm/openai

Owlen OpenAI Provider

OpenAI GPT integration for the Owlen AI agent.

Overview

This crate provides the implementation of the LlmProvider trait for OpenAI's models (e.g., GPT-4o). It supports the standard OpenAI chat completion API, including tool calling and streaming.

Features

  • GPT-4o Support: Reliable integration with flagship OpenAI models.
  • Function Calling: Full support for OpenAI's tool/function calling mechanism.
  • Streaming: Robust real-time response generation.

Configuration

Requires an OPENAI_API_KEY to be set in the environment or configuration.