voidKandy / espionox

Use espionox to streamline making LLM applications in Rust
https://crates.io/crates/espionox
10 stars 0 forks source link

Prelude import #28

Closed voidKandy closed 3 months ago

voidKandy commented 5 months ago

So far this might be good to include in the prelude:

use espionox::{ agents::{ independent::IndependentAgent, language_models::LanguageModel, memory::{Message, MessageRole}, Agent, }, environment::{ dispatch::{ listeners::ListenerMethodReturn, Dispatch, EnvListener, EnvMessage, EnvRequest, }, EnvError, ListenerError, }, };

voidKandy commented 5 months ago

I don't like that code snippet, I think creating a working list of modules/types etc.. would be better

voidKandy commented 5 months ago

Message, MessageRole, Agent, Environment, EnvListener

voidKandy commented 5 months ago

LLM