mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-30 14:22:00 +02:00
refactor: add openai client and improve reference handling
This commit is contained in:
@@ -42,6 +42,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
rabbitmq_consumer: Arc::new(RabbitMQConsumer::new(&config, false).await?),
|
||||
surreal_db_client: Arc::new(SurrealDbClient::new().await?),
|
||||
tera: Arc::new(Tera::new("src/server/templates/**/*.html").unwrap()),
|
||||
openai_client: Arc::new(async_openai::Client::new()),
|
||||
};
|
||||
|
||||
// Create Axum router
|
||||
|
||||
Reference in New Issue
Block a user