oris-runtime 0.61.0

An agentic workflow runtime and programmable AI execution system in Rust: stateful graphs, agents, tools, and multi-step execution.
1
2
3
4
5
6
7
8
9
10
use oris_runtime::embedding::{embedder_trait::Embedder, openai::OpenAiEmbedder};

#[tokio::main]
async fn main() {
    let openai = OpenAiEmbedder::default();

    let response = openai.embed_query("What is the sky blue?").await.unwrap();

    println!("{:?}", response);
}