Core Protocol docs edit pass (#1032)
This commit is contained in:
parent
f45996d4b5
commit
c87eba3f1f
1 changed files with 242 additions and 240 deletions
|
|
@ -9,7 +9,7 @@ namespace ModelContextProtocol.Protocol;
|
|||
/// <remarks>
|
||||
/// <para>
|
||||
/// A <see cref="PromptMessage"/> encapsulates content sent to or received from AI models in the Model Context Protocol.
|
||||
/// Each message has a specific role (<see cref="Role.User"/> or <see cref="Role.Assistant"/>) and contains content which can be
|
||||
/// Each message has a specific role (<see cref="Role.User"/> or <see cref="Role.Assistant"/>) and contains content, which can be
|
||||
/// text, images, audio, or embedded resources.
|
||||
/// </para>
|
||||
/// <para>
|
||||
|
|
@ -17,7 +17,7 @@ namespace ModelContextProtocol.Protocol;
|
|||
/// It serves as a core data structure in the MCP message exchange flow, particularly in prompt formation and model responses.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see cref="PromptMessage"/> objects are typically used in collections within <see cref="GetPromptResult"/>
|
||||
/// <see cref="PromptMessage"/> objects are typically used in collections within <see cref="GetPromptResult"/>
|
||||
/// to represent complete conversations or prompt sequences. They can be converted to and from <see cref="ChatMessage"/>
|
||||
/// objects using the extension methods <see cref="AIContentExtensions.ToChatMessage(PromptMessage)"/> and
|
||||
/// <see cref="AIContentExtensions.ToPromptMessages(ChatMessage)"/>.
|
||||
|
|
|
|||
Loading…
Reference in a new issue