Skip to content

Commit d244ce9

Browse files
committed
Proofreading
1 parent 890b706 commit d244ce9

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

content/en/docs/appstore/use-content/platform-supported-content/modules/genai/mendix-cloud-genai/Mx GenAI Connector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ For [Chat Completions (without history)](/appstore/modules/genai/genai-for-mx/co
161161
In the entire conversation, you can pass up to five documents that are smaller than 4.5 MB each. The following file types are accepted: PDF, CSV, DOC, DOCX, XLS, XLSX, HTML, TXT, and MD.
162162

163163
{{% alert color="info" %}}
164-
Note that the model uses the file name when analyzing documents, which could make it vulnerable to prompt injection. Depending on your use case, you may choose to modify the file's name before adding it to the request.
164+
The model uses the file name when analyzing documents, which may introduce a potential vulnerability to prompt injection. To reduce this risk, consider modifying file names before including them in the request.
165165
{{% /alert %}}
166166

167167
### Knowledge Base Operations

content/en/docs/appstore/use-content/platform-supported-content/modules/genai/reference-guide/external-platforms/openai.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,16 +221,16 @@ For more information on vision, see [OpenAI](https://platform.openai.com/docs/gu
221221

222222
#### Document Chat {#chatcompletions-document}
223223

224-
Document chat enables the model to interpret and analyze PDF documents, allowing them to answer questions and perform tasks related to the content. To use document chat, an optional [FileCollection](/appstore/modules/genai/genai-for-mx/commons/#filecollection) containing one or multiple documents must be sent along with a single message.
224+
Document chat enables the model to interpret and analyze PDF documents, allowing it to answer questions and perform tasks based on the document content. To use document chat, you can send an optional [FileCollection](/appstore/modules/genai/genai-for-mx/commons/#filecollection) containing one or more documents along with a single message.
225225

226226
For [Chat Completions (without history)](/appstore/modules/genai/genai-for-mx/commons/#chat-completions-without-history), `OptionalFileCollection` is an optional input parameter. For [Chat completions (with history)](/appstore/modules/genai/genai-for-mx/commons/#chat-completions-with-history), a `FileCollection` can optionally be added to individual user messages using [Add Message to Request](/appstore/modules/genai/genai-for-mx/commons/#chat-add-message-to-request).
227227

228-
In the entire conversation, you can pass up 100 pages across multiple files and a maximum of 32MB. Currently, processing multiple files with OpenAI is not always guaranteed and can lead to unexpected behavior (e.g., only using one document).
228+
You can send up to 100 pages across multiple files, with a maximum combined size of 32 MB per conversation. Currently, processing multiple files with OpenAI is not always guaranteed and can lead to unexpected behavior (for example, only one file being processed).
229229

230230
{{% alert color="info" %}}
231-
Azure OpenAI does not support the use of file input at the moment.
231+
Azure OpenAI does not currently support file input.
232232

233-
Note that the model uses the file name when analyzing documents, which could make it vulnerable to prompt injection. Depending on your use case, you may choose to modify the string or not pass it at all.
233+
Note that the model uses the file name when analyzing documents, which may introduce a potential vulnerability to prompt injection. To reduce this risk, consider modifying the string or not passing it at all.
234234
{{% /alert %}}
235235

236236
#### Image Generations {#image-generations-configuration}
@@ -305,7 +305,6 @@ All [tool choice types](/appstore/modules/genai/genai-for-mx/commons/#enum-toolc
305305
| none | none |
306306
| tool | tool |
307307

308-
309308
## GenAI showcase Application {#showcase-application}
310309

311310
For more inspiration or guidance on how to use those microflows in your logic, Mendix recommends downloading the [GenAI Showcase App](https://marketplace.mendix.com/link/component/220475), which demonstrates a variety of example use cases.

content/en/docs/appstore/use-content/platform-supported-content/modules/genai/reference-guide/genai-commons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ This is a file in a collection of files that belongs to a message. Each instance
143143
| `FileType` | Currently only images and documents are supported file types. In general, not all file types might be supported by all AI providers or models. For more information, see the [ENUM_FileType](#enum-filetype).
144144
| `TextContent` | An optional text content describing the file content. |
145145
| `FileExtension` | Extension of the file, e.g. *png* or *pdf*. Note that this attribute may only be filled if the ContentType equals *Base64* and can be empty. |
146-
| `FileName` | If a FileDocument is added, the Filename is extracted automatically. |
146+
| `FileName` | If a FileDocument is added, the `Filename` is extracted automatically. |
147147

148148
#### `ToolCollection` {#toolcollection}
149149

0 commit comments

Comments
 (0)