OpenAIChatCopilotOptions.WithDocument

WithDocument(TextDocument)

Lägger till ett textdokument i dokumentkollektionen för chattkopilotalternativen.

public OpenAIChatCopilotOptions WithDocument(TextDocument textDocument)
ParameterTypBeskrivning
textDocumentTextDocumentTextdokumentet som ska läggas till.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även


WithDocument(PdfDocument)

Lägger till ett PDF-dokument i dokumentkollektionen för chattkopilotalternativen.

public OpenAIChatCopilotOptions WithDocument(PdfDocument pdfDocument)
ParameterTypBeskrivning
pdfDocumentPdfDocumentPDF-dokumentet som ska läggas till.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även


WithDocument(string)

Lägger till en dokumentväg i dokumentkollektionen för chattkopilotalternativen.

public OpenAIChatCopilotOptions WithDocument(string filePath)
ParameterTypBeskrivning
filePathStringFilvägen till dokumentet som ska läggas till.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även