Interface IChatCopilot
Contents
[
Hide
]IChatCopilot interface
Represents a chat copilot for interacting with documents via AI models.
public interface IChatCopilot : IAICopilot
Methods
| Name | Description |
|---|---|
| DeleteContextAsync(CancellationToken?) | Asynchronously deletes the context. |
| GetResponseAsync(List<string>, CancellationToken?) | Asynchronously gets a response for the given list of messages. |
| GetResponseAsync(string, CancellationToken?) | Asynchronously gets a response for the given message. |
| SaveContextAsync(string, CancellationToken?) | Asynchronously saves the context to a JSON file. |
| SaveResponseAsync(List<string>, string, CancellationToken?) | Asynchronously saves the responses for the given list of messages to a PDF file. |
| SaveResponseAsync(string, string, CancellationToken?) | Asynchronously saves the response for the given message to a PDF file. |
| SaveResponseAsync(List<string>, string, SaveFormat, CancellationToken?) | Asynchronously saves the responses for the given list of messages to a file with specified format. |
| SaveResponseAsync(string, string, SaveFormat, CancellationToken?) | Asynchronously saves the response for the given message to a file with specified format. |
See Also
- interface IAICopilot
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF