mirror of
https://github.com/perstarkse/minne.git
synced 2026-12-04 02:36:17 +01:00
refactor: add openai client and improve reference handling
This commit is contained in:
1 parent
cd7604c0ef
commit
1c4b3284bf
11 files changed
+121
-88
No files matched your search
@@ -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