toggle menu
nutrient
Nutrient
switch theme
search in API
nutrient
/
io.nutrient.data.models
/
CompletionRequest
Completion
Request
@
Serializable
data
class
CompletionRequest
(
val
requestId
:
String
,
val
issuer
:
String
,
val
documents
:
List
<
Document
>
,
val
parameters
:
Map
<
String
,
String
>
,
val
chatId
:
String
,
val
agent
:
String
?
=
null
)
Members
Constructors
Completion
Request
Link copied to clipboard
constructor
(
requestId
:
String
,
issuer
:
String
,
documents
:
List
<
Document
>
,
parameters
:
Map
<
String
,
String
>
,
chatId
:
String
,
agent
:
String
?
=
null
)
Properties
agent
Link copied to clipboard
val
agent
:
String
?
=
null
chat
Id
Link copied to clipboard
val
chatId
:
String
documents
Link copied to clipboard
val
documents
:
List
<
Document
>
issuer
Link copied to clipboard
val
issuer
:
String
parameters
Link copied to clipboard
val
parameters
:
Map
<
String
,
String
>
request
Id
Link copied to clipboard
val
requestId
:
String
Functions
to
Json
Object
Link copied to clipboard
fun
toJsonObject
(
)
:
JSONObject