Class CreateMessageRequest
Request for CreateMessage
Inheritance
CreateMessageRequest
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CreateMessageRequest : PlainRequestBase<CreateMessageRequestParameters>, ICreateMessageRequest, IRequest<CreateMessageRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
CreateMessageRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected CreateMessageRequest()
|
Edit this page
View Source
CreateMessageRequest(Id)
/_plugins/_ml/memory/{memory_id}/messages
Declaration
public CreateMessageRequest(Id memoryId)
Parameters
| Type |
Name |
Description |
| Id |
memoryId |
this parameter is required
|
Fields
|
Edit this page
View Source
MinimumServerVersion
Minimum OpenSearch version required for this API.
Declaration
public const string MinimumServerVersion = "2.12"
Field Value
Properties
|
Edit this page
View Source
AdditionalInfo
Declaration
public IDictionary<string, object> AdditionalInfo { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public string Input { get; set; }
Property Value
|
Edit this page
View Source
Origin
Declaration
public string Origin { get; set; }
Property Value
|
Edit this page
View Source
PromptTemplate
Declaration
public string PromptTemplate { get; set; }
Property Value
|
Edit this page
View Source
Response
Declaration
public string Response { get; set; }
Property Value
|
Edit this page
View Source
Self
Declaration
protected ICreateMessageRequest Self { get; }
Property Value
Implements
Extension Methods