CitationSource Class

A citation to a source for a portion of a specific response.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public class CitationSource
Inheritance
Object    CitationSource

Constructors

CitationSourceInitializes a new instance of the CitationSource class

Properties

EndIndex Optional. End of the attributed segment, exclusive.
License Optional. License for the GitHub project that is attributed as a source for segment. License info is required for code citations.
StartIndex Optional. Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
Uri Optional. URI that is attributed as a source for a portion of the text.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also