You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/mendix-cloud-genai/Mx GenAI Connector.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ aliases:
10
10
11
11
## Introduction
12
12
13
-
The [Mendix Cloud GenAI connector](https://marketplace.mendix.com/link/component/239449) lets you utilize Mendix Cloud GenAI resource packs directly within your Mendix application. It allows you to integrate generative AI by dragging and dropping common operations from its toolbox. Feel free to contact [[email protected]](mailto:[email protected]) to learn more.
13
+
The [Mendix Cloud GenAI connector](https://marketplace.mendix.com/link/component/239449) lets you utilize Mendix Cloud GenAI resource packs directly within your Mendix application. It allows you to integrate generative AI by dragging and dropping common operations from its toolbox.
14
14
15
15
### Typical Use Cases
16
16
17
-
The Mendix Cloud GenAI Connector is commonly used for text generation, embeddings, and knowledge bases. These use cases are described in more detail below:
17
+
The Mendix Cloud GenAI Connector is commonly used for text generation, embeddings generation, and knowledge bases. These use cases are described in more detail below:
18
18
19
19
#### Text Generation
20
20
@@ -31,19 +31,8 @@ The Mendix Cloud GenAI Connector is commonly used for text generation, embedding
31
31
* Translate languages
32
32
* Simulate characters for games
33
33
* Image to text
34
-
35
-
#### Knowledge Base
36
-
37
-
The module enables tailoring generated responses to specific contexts by grounding them in data inside of a collection belonging to a Mendix Cloud GenAI knowledge base resource. This allows for the secure use of private company data or other non-public information when interacting with GenAI models within the Mendix app. It provides a low-code solution to store discrete data (commonly called chunks) in the knowledge base and retrieves relevant information for end-user actions or application processes.
38
-
39
-
Knowledge bases are often used for:
40
-
41
-
1.[Retrieval Augmented Generation (RAG)](/appstore/modules/genai/rag/) retrieves relevant knowledge from the knowledge base, incorporates it into a prompt, and sends it to the model to generate a response.
42
-
2. Semantic search enables advanced search capabilities by considering the semantic meaning of the text, going beyond exact and approximate matching. It allows the knowledge base to be searched for similar chunks effectively.
43
-
44
-
If you are looking for a step-by-step guide on how to get your application data into a Mendix Cloud Knowledge Base, refer [Grounding Your Large Language Model in Data – Mendix Cloud GenAI](/appstore/modules/genai/how-to/howto-groundllm/). Note that the Mendix Portal also provides options for importing data into your knowledge base, such as file uploads. For more information, see [Navigate through the Mendix Cloud GenAI Portal](/appstore/modules/genai/mx-cloud-genai/Navigate-MxGenAI/). This documentation focuses solely on adding data from an application using the connector.
45
-
46
-
#### Embeddings
34
+
35
+
#### Embeddings Generation
47
36
48
37
Convert strings into vector embeddings for various purposes based on the relatedness of texts.
49
38
@@ -59,9 +48,24 @@ Embeddings are commonly used for the following:
59
48
You can combine embeddings with text generation capabilities and leverage specific sources of information to create a smart chat functionality tailored to your knowledge base.
60
49
61
50
{{% alert color="info" %}}
62
-
The Mendix Cloud GenAI Connector module generates embeddings internally when interacting with the knowledge base. Pure embedding operations are only required if additional processes, such as using the generated vectors instead of text, are needed. For example, a similar search algorithm could use vector distances to calculate relatedness.
51
+
The Mendix Cloud GenAI Connector module generates embeddings internally when interacting with a knowledge base. Pure embedding operations are only required if additional processes, such as using the generated vectors instead of text, are needed. For example, a similar search algorithm could use vector distances to calculate relatedness.
63
52
{{% /alert %}}
64
53
54
+
#### Knowledge Base
55
+
56
+
The module enables tailoring generated responses to specific contexts by grounding them in data inside of a collection belonging to a Mendix Cloud GenAI knowledge base resource. This allows for the secure use of private company data or other non-public information when interacting with GenAI models within the Mendix app. It provides a low-code solution to store discrete data (commonly called chunks) in the knowledge base and retrieves relevant information for end-user actions or application processes.
57
+
58
+
Knowledge bases are often used for:
59
+
60
+
1.[Retrieval Augmented Generation (RAG)](/appstore/modules/genai/rag/) retrieves relevant knowledge from the knowledge base, incorporates it into a prompt, and sends it to the model to generate a response.
61
+
2. Semantic search enables advanced search capabilities by considering the semantic meaning of the text, going beyond exact and approximate matching. It allows the knowledge base to be searched for similar chunks effectively.
62
+
63
+
If you are looking for a step-by-step guide on how to get your application data into a Mendix Cloud Knowledge Base, refer [Grounding Your Large Language Model in Data – Mendix Cloud GenAI](/appstore/modules/genai/how-to/howto-groundllm/). Note that the Mendix Portal also provides options for importing data into your knowledge base, such as file uploads. For more information, see [Navigate through the Mendix Cloud GenAI Portal](/appstore/modules/genai/mx-cloud-genai/Navigate-MxGenAI/). This documentation focuses solely on adding data from an application using the connector.
64
+
65
+
##### Architecture
66
+
67
+
A Knowledge Base resource can comprise several collections. Each collection is specifically designed to hold numerous documents, serving as a logical grouping for related information based on its shared domain, purpose, or thematic focus. While collections provide a mechanism for data separation, with each corresponding to a [DeployedKnowledgebase](/appstore/modules/genai/genai-for-mx/commons/#deployed-knowledge-base), it is not best practice to create a large number of collections within a single Knowledge Base resource. A more performant and practical approach for achieving fine-grained data separation is through the strategic use of metadata. To learn more, see [Retrieve and Generate](/appstore/modules/genai/mx-cloud-genai/MxGenAI-connector/#retrieve-and-generate).
68
+
65
69
### Features
66
70
67
71
In the current version, Mendix supports text generation (including function/tool calling, chat with images, and chat with documents), vector embedding generation, knowledge base storage, and retrieval of knowledge base chunks.
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/mendix-cloud-genai/mendix-cloud-grp.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,13 @@ Mendix Cloud GenAI Resource Packs is a premium Mendix product that requires an a
24
24
25
25
Mendix Cloud Model Resource Packs provide customers with a monthly quota of input and output tokens for Anthropic's Claude and Cohere's Embed models. This allows customers to implement typical Generative AI use cases using text generation, embeddings, and knowledge bases.
26
26
27
-
### Supported models
27
+
### Supported Models
28
28
29
29
The Mendix Cloud GenAI Resource Packs provide access to the following models:
* Anthropic Claude 3.7 Sonnet (Cross-region inference profile)
33
+
* Cohere Embed v3 (English and multilingual options)
33
34
34
35
The models are available through the Mendix Cloud, leveraging AWS's highly secure Amazon Bedrock multi-tenant architecture. This architecture employs advanced logical isolation techniques to effectively segregate customer data, requests, and responses, ensuring a level of data protection that aligns with global security compliance requirements. Customer prompts, requests, and responses are neither stored nor used for model training. Your data remains your data.
35
36
@@ -39,8 +40,8 @@ Customers looking to leverage other models in addition to the above can also tak
| Anthropic Claude V3.5 (Tokens in/month) | 2.5 million in | 5 million | 10 million |
43
-
| Anthropic Claude V3.5 (Tokens out/month) | 1.25 million out | 2.5 million | 5 million |
43
+
| Anthropic Claude (any version) (Tokens in/month) | 2.5 million in | 5 million | 10 million |
44
+
| Anthropic Claude (any version) (Tokens out/month) | 1.25 million out | 2.5 million | 5 million |
44
45
| Cohere Embed V3 (Tokens in/month) | 5 million in | 10 million | 20 million |
45
46
46
47
## Knowledge Bases
@@ -75,7 +76,11 @@ The Mendix Portal allows easy access to manage the resources, through the GenAI
75
76
76
77
## Mendix Cloud GenAI Connector
77
78
78
-
The [Mendix Cloud GenAI connector](/appstore/modules/genai/mx-cloud-genai/MxGenAI-connector/) lets you utilize Mendix Cloud GenAI resource packs directly within your Mendix application. It allows you to integrate generative AI by dragging and dropping common operations from its toolbox.
79
+
The [Mendix Cloud GenAI connector](/appstore/modules/genai/mx-cloud-genai/MxGenAI-connector/) lets you utilize Mendix Cloud GenAI resource packs directly within your Mendix application. It allows you to integrate generative AI by dragging and dropping common operations from its toolbox. Note that any versions older than the ones listed below are no longer functional:
80
+
81
+
* GenAI for Mendix bundle v2.4.1 (Mendix 9) (contains Mendix Cloud GenAI connector) or
82
+
* Mendix Cloud GenAI connector v3.1.1 (no `DeployedKnowledgeBase` support) or
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/mendix-cloud-genai/navigate_mxgenai.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,14 +77,16 @@ On the **Content** page, you can find information on adding knowledge to your Kn
77
77
Currently, you have the following options for adding data to a Knowledge Base:
78
78
79
79
* Add files (for example, TXT or PDF)
80
-
* Add data from a Mendix application
80
+
* Add data from a Mendix application.
81
81
82
82
#### Add Files
83
83
84
84
When you select the **Add Files Like .TXT or .PDF** option, you can upload documents directly to the GenAI portal. Before uploading, you also have the option to add metadata. For more information, see the [metadata](#metadata) section below.
85
85
86
86
{{% alert color="info" %}} Only TXT and PDF files are supported. {{% /alert %}}
87
87
88
+
Before uploading, you can choose to upload the data to a new collection, the default collection, or another existing collection within the resource. A Knowledge Base resource can comprise several collections. Each collection is specifically designed to hold numerous documents, serving as a logical grouping for related information based on its shared domain, purpose, or thematic focus. While collections provide a mechanism for data separation, with each corresponding to a [DeployedKnowledgebase](/appstore/modules/genai/genai-for-mx/commons/#deployed-knowledge-base), it is not best practice to create a large number of collections within a single Knowledge Base resource. A more performant and practical approach for achieving fine-grained data separation is through the strategic use of metadata.
89
+
88
90
##### Metadata {#metadata}
89
91
90
92
Metadata is additional information that can be attached to data in a GenAI knowledge base. Unlike the actual content, metadata provides structured details that help in organizing, searching, and filtering information more efficiently. It helps manage large datasets by allowing to retrieve of relevant data based on specific attributes rather than relying solely on similarity-based searches.
0 commit comments