From 6f8fac00cb32ca958445d591a155b1d172daae61 Mon Sep 17 00:00:00 2001 From: buffer Date: Sun, 22 Sep 2024 15:21:39 +0800 Subject: [PATCH] fix: projects --- src/openai.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/openai.rs b/src/openai.rs index b58c1c0..46a0599 100644 --- a/src/openai.rs +++ b/src/openai.rs @@ -4,6 +4,7 @@ use crate::{ assistants::AssistantsApi, audio::AudioApi, client::ClientApi, completion::CompletionsApi, embeddings::EmbeddingsApi, fine_tuning::FineTuningApi, images::ImagesApi, moderations::ModerationApi, threads::ThreadsApi, vectors::VectorsApi, + projects::ProjectsApi, }, }; use reqwest::{multipart::Form, Client}; @@ -130,4 +131,8 @@ impl<'a> OpenAI<'a> { pub const fn vectors(&self) -> VectorsApi { VectorsApi(self) } + + pub const fn projects(&self) -> ProjectsApi { + ProjectsApi(self) + } }