OpenAIChatCopilotOptions.WithDocument
Innehåll
[
Dölj
]WithDocument(TextDocument)
Lägger till ett textdokument i dokumentkollektionen för chattkopilotalternativen.
public OpenAIChatCopilotOptions WithDocument(TextDocument textDocument)
| Parameter | Typ | Beskrivning |
|---|---|---|
| textDocument | TextDocument | Textdokumentet som ska läggas till. |
Returvärde
Den aktuella instansen av OpenAIChatCopilotOptions.
Se Även
- klass TextDocument
- klass OpenAIChatCopilotOptions
- namnrymd Aspose.Pdf.AI
- assembly Aspose.PDF
WithDocument(PdfDocument)
Lägger till ett PDF-dokument i dokumentkollektionen för chattkopilotalternativen.
public OpenAIChatCopilotOptions WithDocument(PdfDocument pdfDocument)
| Parameter | Typ | Beskrivning |
|---|---|---|
| pdfDocument | PdfDocument | PDF-dokumentet som ska läggas till. |
Returvärde
Den aktuella instansen av OpenAIChatCopilotOptions.
Se Även
- klass PdfDocument
- klass OpenAIChatCopilotOptions
- namnrymd Aspose.Pdf.AI
- assembly Aspose.PDF
WithDocument(string)
Lägger till en dokumentväg i dokumentkollektionen för chattkopilotalternativen.
public OpenAIChatCopilotOptions WithDocument(string filePath)
| Parameter | Typ | Beskrivning |
|---|---|---|
| filePath | String | Filvägen till dokumentet som ska läggas till. |
Returvärde
Den aktuella instansen av OpenAIChatCopilotOptions.
Se Även
- klass OpenAIChatCopilotOptions
- namnrymd Aspose.Pdf.AI
- assembly Aspose.PDF