cogito-openai
cogito-openai is an OpenAI provider that adheres to the Cogito specification.
Usage
use ;
use OpenAIModel;
use ;
use *;
let auth = from_env?;
let factory = new;
let client = new;
let request = default.model.input;
let response = client.send.await?.result;
See the Cogito docs and Hypertyper docs for more information.
License
Cogito is licensed under the terms of the Apache 2.0 license. Please see the LICENSE file accompanying this source code or visit apache.org for more information on licensing.