OpenAIChatCopilotOptions.WithDocuments

WithDocuments(DocumentCollection)

Ställer in dokumentkollektionen för chattkopilotalternativen.

public OpenAIChatCopilotOptions WithDocuments(DocumentCollection documentCollection)
ParameterTypBeskrivning
documentCollectionDocumentCollectionDen dokumentkollektion som ska ställas in.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även


WithDocuments(List<TextDocument>)

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

public OpenAIChatCopilotOptions WithDocuments(List<TextDocument> textDocuments)
ParameterTypBeskrivning
textDocumentsList`1Listan över textdokument som ska läggas till.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även


WithDocuments(List<PdfDocument>)

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

public OpenAIChatCopilotOptions WithDocuments(List<PdfDocument> pdfDocuments)
ParameterTypBeskrivning
pdfDocumentsList`1Listan över PDF-dokument som ska läggas till.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även


WithDocuments(List<string>)

Lägger till flera dokumentvägar i dokumentkollektionen för chattkopilotalternativen.

public OpenAIChatCopilotOptions WithDocuments(List<string> filePaths)
ParameterTypBeskrivning
filePathsList`1Listan över filvägar som ska läggas till.

Returvärde

Den aktuella instansen av OpenAIChatCopilotOptions.

Se Även