diff --git a/OpenAI_API/IOpenAIAPI.cs b/OpenAI_API/IOpenAIAPI.cs
index 7b2de67..21ee33a 100644
--- a/OpenAI_API/IOpenAIAPI.cs
+++ b/OpenAI_API/IOpenAIAPI.cs
@@ -1,7 +1,10 @@
+using OpenAI_API.Chat;
using OpenAI_API.Completions;
using OpenAI_API.Embedding;
using OpenAI_API.Files;
+using OpenAI_API.Images;
using OpenAI_API.Models;
+using OpenAI_API.Moderation;
namespace OpenAI_API
{
@@ -37,6 +40,16 @@ public interface IOpenAIAPI
///
EmbeddingEndpoint Embeddings { get; }
+ ///
+ /// Text generation in the form of chat messages. This interacts with the ChatGPT API.
+ ///
+ ChatEndpoint Chat { get; }
+
+ ///
+ /// Classify text against the OpenAI Content Policy.
+ ///
+ ModerationEndpoint Moderation { get; }
+
///
/// The API endpoint for querying available Engines/models
///
@@ -46,5 +59,10 @@ public interface IOpenAIAPI
/// The API lets you do operations with files. You can upload, delete or retrieve files. Files can be used for fine-tuning, search, etc.
///
FilesEndpoint Files { get; }
+
+ ///
+ /// The API lets you do operations with images. You can Given a prompt and/or an input image, the model will generate a new image.
+ ///
+ ImageGenerationEndpoint ImageGenerations { get; }
}
}
\ No newline at end of file
diff --git a/OpenAI_API/OpenAIAPI.cs b/OpenAI_API/OpenAIAPI.cs
index f415410..b5aeb61 100644
--- a/OpenAI_API/OpenAIAPI.cs
+++ b/OpenAI_API/OpenAIAPI.cs
@@ -5,7 +5,6 @@
using OpenAI_API.Images;
using OpenAI_API.Models;
using OpenAI_API.Moderation;
-using System.Xml.Linq;
namespace OpenAI_API
{
@@ -96,6 +95,5 @@ public static OpenAIAPI ForAzure(string YourResourceName, string deploymentId, A
/// The API lets you do operations with images. You can Given a prompt and/or an input image, the model will generate a new image.
///
public ImageGenerationEndpoint ImageGenerations { get; }
-
}
}