Skip to content

Commit

Permalink
Documentation update (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcominerva committed Oct 16, 2023
2 parents 7cff0f9 + 87afb88 commit 6471b90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChatGptNet/Models/ChatGptRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ internal class ChatGptRequest
public double? FrequencyPenalty { get; set; }

/// <summary>
/// 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.
/// </summary>
/// <remarks>
/// See <see href="https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids">Safety best practices</see> for more information.
Expand Down
6 changes: 6 additions & 0 deletions src/ChatGptNet/Models/Embeddings/EmbeddingRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ internal class EmbeddingRequest
/// <seealso cref="Input"/>
public IEnumerable<string> Input { get; set; } = Enumerable.Empty<string>();

/// <summary>
/// Gets or sets the user identification for embedding request, which can help to monitor and detect abuse.
/// </summary>
/// <remarks>
/// See <see href="https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids">Safety best practices</see> for more information.
/// </remarks>
public string? User { get; set; }
}

0 comments on commit 6471b90

Please sign in to comment.