Class AISearchParams
Encapsulates the parameters required for performing an AI search.
Inheritance
Object
AISearchParams
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.AICompanion.Model
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class AISearchParams
Constructors
AISearchParams()
Declaration
public AISearchParams()
Properties
Connection
Gets or sets the connection to use for the AI search.
Declaration
public Connection Connection { get; set; }
Property Value
Type | Description |
---|---|
Connection |
ContextSegmentPair
Gets or sets the context segment pair, if any, for providing additional context to the AI search.
Declaration
public LiteFragment ContextSegmentPair { get; set; }
Property Value
Type | Description |
---|---|
LiteFragment |
Prompt
Gets or sets the prompt to use for the AI search.
Declaration
public Prompt Prompt { get; set; }
Property Value
Type | Description |
---|---|
Prompt |
SegmentPair
Gets or sets the segment pair to be searched.
Declaration
public LiteFragment SegmentPair { get; set; }
Property Value
Type | Description |
---|---|
LiteFragment |