Share via


CosmosChatDataSource.OutputContexts Property

Definition

The include_context flags to request for an On Your Data retrieval result, which control what information will be available on ChatMessageContext instances in the response.

public Azure.AI.OpenAI.Chat.DataSourceOutputContexts? OutputContexts { get; set; }
member this.OutputContexts : Nullable<Azure.AI.OpenAI.Chat.DataSourceOutputContexts> with get, set
Public Property OutputContexts As Nullable(Of DataSourceOutputContexts)

Property Value

Remarks

By default, intent and citations will be requested.

This value is provided as a bitmask flag. For example, to request intent and all_retrieved_documents contexts, use the bitwise OR operator by assigning Intent | AllRetrievedDocuments.

Applies to