From 87afb883fd151c72f0f30d100efaa54e5177de0c Mon Sep 17 00:00:00 2001 From: Marco Minerva Date: Mon, 16 Oct 2023 14:50:42 +0200 Subject: [PATCH] Documentation update #121 --- src/ChatGptNet/Models/ChatGptRequest.cs | 2 +- src/ChatGptNet/Models/Embeddings/EmbeddingRequest.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChatGptNet/Models/ChatGptRequest.cs b/src/ChatGptNet/Models/ChatGptRequest.cs index 15188d9..40b52a2 100644 --- a/src/ChatGptNet/Models/ChatGptRequest.cs +++ b/src/ChatGptNet/Models/ChatGptRequest.cs @@ -87,7 +87,7 @@ internal class ChatGptRequest public double? FrequencyPenalty { get; set; } /// - /// Gets or sets the user identification for chat completion, which can help OpenAI to monitor and detect abuse. + /// Gets or sets the user identification for chat completion, which can help to monitor and detect abuse. /// /// /// See Safety best practices for more information. diff --git a/src/ChatGptNet/Models/Embeddings/EmbeddingRequest.cs b/src/ChatGptNet/Models/Embeddings/EmbeddingRequest.cs index 5d45ddc..3300311 100644 --- a/src/ChatGptNet/Models/Embeddings/EmbeddingRequest.cs +++ b/src/ChatGptNet/Models/Embeddings/EmbeddingRequest.cs @@ -19,5 +19,11 @@ internal class EmbeddingRequest /// public IEnumerable Input { get; set; } = Enumerable.Empty(); + /// + /// Gets or sets the user identification for embedding request, which can help to monitor and detect abuse. + /// + /// + /// See Safety best practices for more information. + /// public string? User { get; set; } } \ No newline at end of file