Skip to content

Commit 905a2b2

Browse files
update Open Source Docs from Roblox internal teams
1 parent 3480835 commit 905a2b2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 3 additions & 0 deletions
Loading

content/en-us/reference/engine/classes/TextGenerator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,23 +147,27 @@ methods:
147147
<th>Key Name</th>
148148
<th>Data Type</th>
149149
<th>Description</th>
150+
<th>Required</th>
150151
</tr>
151152
</thead>
152153
<tbody>
153154
<tr>
154155
<td><code>UserPrompt</code></td>
155156
<td>string</td>
156157
<td>Optional prompt from the user that initiates the chat. This could be a question, statement, or command that the user wants the model to respond to.</td>
158+
<td>No</td>
157159
</tr>
158160
<tr>
159161
<td><code>ContextToken</code></td>
160162
<td>string</td>
161163
<td>Prompt history context token containing a summarization of the previous prompt requests and responses in a conversation up to the current request. If no token is provided, a new token is generated and returned in the response. Providing a previously generated context token restores the conversation state into the current request.</td>
164+
<td>No</td>
162165
</tr>
163166
<tr>
164167
<td><code>MaxTokens</code></td>
165168
<td>number</td>
166169
<td>The maximum number of tokens in the response generated by the model, expected to be an integer whose value is at least <code>1</code>. This limits the length of the response, preventing overly long or incomplete answers. Non-integral numbers will be rounded to the nearest integer.</td>
170+
<td>No</td>
167171
</tr>
168172
</tbody>
169173
</table>

0 commit comments

Comments
 (0)