You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OpenAI_API/Chat/Conversation.cs
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ public Conversation(ChatEndpoint endpoint, OpenAI_API.Models.Model model = null,
71
71
privateList<ChatMessage>_Messages;
72
72
73
73
/// <summary>
74
-
/// Appends a <see cref="ChatMessage"/> to the chat hstory
74
+
/// Appends a <see cref="ChatMessage"/> to the chat history
75
75
/// </summary>
76
76
/// <param name="message">The <see cref="ChatMessage"/> to append to the chat history</param>
77
77
publicvoidAppendMessage(ChatMessagemessage)
@@ -80,33 +80,33 @@ public void AppendMessage(ChatMessage message)
80
80
}
81
81
82
82
/// <summary>
83
-
/// Creates and appends a <see cref="ChatMessage"/> to the chat hstory
83
+
/// Creates and appends a <see cref="ChatMessage"/> to the chat history
84
84
/// </summary>
85
85
/// <param name="role">The <see cref="ChatMessageRole"/> for the message. Typically, a conversation is formatted with a system message first, followed by alternating user and assistant messages. See <see href="https://platform.openai.com/docs/guides/chat/introduction">the OpenAI docs</see> for more details about usage.</param>
86
86
/// <param name="content">The content of the message)</param>
/// Creates and appends a <see cref="ChatMessage"/> to the chat hstory with the Role of <see cref="ChatMessageRole.User"/>. The user messages help instruct the assistant. They can be generated by the end users of an application, or set by a developer as an instruction.
90
+
/// Creates and appends a <see cref="ChatMessage"/> to the chat history with the Role of <see cref="ChatMessageRole.User"/>. The user messages help instruct the assistant. They can be generated by the end users of an application, or set by a developer as an instruction.
91
91
/// </summary>
92
92
/// <param name="content">Text content generated by the end users of an application, or set by a developer as an instruction</param>
/// Creates and appends a <see cref="ChatMessage"/> to the chat hstory with the Role of <see cref="ChatMessageRole.User"/>. The user messages help instruct the assistant. They can be generated by the end users of an application, or set by a developer as an instruction.
96
+
/// Creates and appends a <see cref="ChatMessage"/> to the chat history with the Role of <see cref="ChatMessageRole.User"/>. The user messages help instruct the assistant. They can be generated by the end users of an application, or set by a developer as an instruction.
97
97
/// </summary>
98
98
/// <param name="userName">The name of the user in a multi-user chat</param>
99
99
/// <param name="content">Text content generated by the end users of an application, or set by a developer as an instruction</param>
/// Creates and appends a <see cref="ChatMessage"/> to the chat hstory with the Role of <see cref="ChatMessageRole.System"/>. The system message helps set the behavior of the assistant.
104
+
/// Creates and appends a <see cref="ChatMessage"/> to the chat history with the Role of <see cref="ChatMessageRole.System"/>. The system message helps set the behavior of the assistant.
105
105
/// </summary>
106
106
/// <param name="content">text content that helps set the behavior of the assistant</param>
/// Creates and appends a <see cref="ChatMessage"/> to the chat hstory with the Role of <see cref="ChatMessageRole.Assistant"/>. Assistant messages can be written by a developer to help give examples of desired behavior.
109
+
/// Creates and appends a <see cref="ChatMessage"/> to the chat history with the Role of <see cref="ChatMessageRole.Assistant"/>. Assistant messages can be written by a developer to help give examples of desired behavior.
110
110
/// </summary>
111
111
/// <param name="content">Text content written by a developer to help give examples of desired behavior</param>
0 commit comments