InterfaceISupportJsonEmbeddings
Interface
Defines behavior for settings working with embedding of json.
Definition
Namespace:Telerik.Documents.AI.Core
Assembly:Telerik.Documents.AI.Core.dll
Syntax:
cs-api-definition
public interface ISupportJsonEmbeddings
Properties
ProduceJsonFormattedContext
Determines whether the context sent to the model is in JSON or plain text format, if json format is applicable.
Declaration
cs-api-definition
bool ProduceJsonFormattedContext { get; }
Property Value
Remarks
Plain text might consume more tokens but should lead to better results when asking the LLM.
TotalContextTokenLimit
Gets the maximum number of tokens allowed in the context to be sent to the model.