Skip to content

Commit d1872b2

Browse files
Merge pull request #10307 from linaaaf/mx-cloud-genai-refactoring
Mx Cloud GenAI Refactoring
2 parents 8786325 + e8bda34 commit d1872b2

11 files changed

Lines changed: 193 additions & 186 deletions

File tree

content/en/docs/marketplace/genai/concepts/_index.md

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,49 @@ One of the most important components for generative AI is the Large Language Mod
2323
For example, you can use an LLM to do:
2424

2525
* **Text Generation:** Creating coherent and contextually relevant text from a prompt.
26-
* **Content Creation:** Assisting in writing articles, stories, and marketing copy.
27-
* **Translation:** Translating text from one language to another.
28-
* **Summarization:** Condensing long documents into concise summaries.
29-
* **Conversational Interaction:** Powering chatbots and virtual assistants to interact naturally with users.
3026
* **Data Generation:** Generating Mendix objects by combining JSON generation and [Import mappings](/refguide/import-mapping-action/).
3127

28+
### Typical LLM Use Cases {#llm-use-cases}
29+
30+
#### Text Generation
31+
32+
* Develop interactive AI chatbots and virtual assistants that can carry out conversations naturally and engagingly.
33+
* By using text generation models, you can build applications with features such as:
34+
35+
* Draft documents (for example, content creation: Assist in writing articles, stories, and marketing copy)
36+
* Write computer code
37+
* Answer questions about a knowledge base or (large) texts
38+
* Analyze texts
39+
* Give software a natural language interface
40+
* Tutor in a range of subjects
41+
* Translate languages
42+
* Simulate characters for games
43+
3244
Some LLMs, such as [Anthropic Claude](/appstore/modules/aws/amazon-bedrock/) and [GPT-4o](/appstore/modules/genai/openai/), can also use one or more images as input, allowing you to ask questions about images for use cases such as object recognition, image to text (OCR), and validating whether an image is as intended.
45+
46+
#### Embeddings Generation
47+
48+
Convert strings into vector embeddings for various purposes based on the relatedness of texts.
49+
50+
Embeddings are commonly used for the following:
51+
52+
* Semantic Search (Meaning-based Similarity)
53+
* Clustering
54+
* Recommendations
55+
* Anomaly detection
56+
* Diversity measurement
57+
* Classification
58+
59+
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+
61+
#### Knowledge Base
62+
63+
Adding knowledge bases helps to tailor response generation to specific contexts by grounding them in data. Knowledge bases can store discrete data (commonly called chunks) and relevant information for end-user actions or application processes can be retrieved from them.
64+
65+
Knowledge bases are often used for:
66+
67+
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.
68+
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.
3369

3470
### What is an LLM Not?
3571

content/en/docs/marketplace/genai/mendix-cloud-genai/Mx GenAI Connector.md

Lines changed: 64 additions & 58 deletions
Large diffs are not rendered by default.

content/en/docs/marketplace/genai/mendix-cloud-genai/_index.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@ In order to help developers integrate GenAI capabilities into custom application
1313

1414
## Resources Overview
1515

16-
The GenAI Resources portal provides an overview of all the resources you have access to. You can also request new GenAI Resources through the portal.
17-
1816
There are three different types of resources:
1917

2018
* Compute – Text Generation: generates human-like text based on given inputs, essential for applications requiring natural language generation.
2119

2220
* Knowledge Base: A knowledge base can be used to upload your data which then can be used by a text generation resource.
2321

24-
* Compute – Embeddings Generation: converts text into vector representations. An embeddings resource is required to uploading data to your Knowledge Base.
22+
* Compute – Embeddings Generation: converts text into vector representations. An embeddings resource is required to uploading data to your Knowledge Base.
23+
24+
## Getting started
25+
26+
1. Learn about GenAI Resource Packs and how to acquire them in the [Mendix Cloud GenAI Resource Packs](/appstore/modules/genai/mx-cloud-genai/resource-packs/) document.
27+
2. Once you have access to GenAI resources, log in to the [Mendix Cloud GenAI portal](https://genai.home.mendix.com/) to generate access keys for your resources. This portal provides an overview of all the resources you have access to and you can also request new GenAI Resources there. For more information, see [Navigate through the Mendix Cloud GenAI Portal](https://docs.mendix.com/appstore/modules/genai/mx-cloud-genai/Navigate-MxGenAI/).
28+
3. Use a starter app containing the [Mendix Cloud GenAI Connector](https://marketplace.mendix.com/link/component/239449) (for example, the [BlankGenAI starter app](https://marketplace.mendix.com/link/component/227934)) or implement the connector in the Mendix application according to its documentation. Once you have imported access key in its configuration overview, you are connected to Mendix Cloud GenAI and can access available resources within your application.
2529

2630
## Relevant Sources

content/en/docs/marketplace/genai/mendix-cloud-genai/mendix-cloud-grp.md

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The Mendix Cloud GenAI Resource Packs provide access to the following models:
3535

3636
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.
3737

38-
Customers looking to leverage other models in addition to the above can also take advantage of Mendix's [(Azure) OpenAI Connector](/appstore/modules/genai/reference-guide/external-connectors/openai/) and Amazon [Bedrock Connector](/appstore/modules/genai/reference-guide/external-connectors/bedrock/) to integrate numerous other models into their apps.
38+
Customers looking to leverage other models in addition to the above can also take advantage of Mendix's [(Azure) OpenAI Connector](/appstore/modules/genai/reference-guide/external-connectors/openai/), Amazon [Bedrock Connector](/appstore/modules/genai/reference-guide/external-connectors/bedrock/), and [Mistral Connector](/appstore/modules/genai/reference-guide/external-connectors/mistral/) to integrate numerous other models into their apps.
3939

4040
### Technical Details for Model Resource Packs
4141

@@ -65,31 +65,15 @@ Knowledge Bases are based on elastically scaling, serverless OpenSearch vector d
6565
| Memory | Elastic |
6666
| Disk Space | 10 GB |
6767

68-
## Mendix Portal
69-
70-
The Mendix Portal allows easy access to manage the resources, through the GenAI Resources section in the portal.
71-
72-
* Get insight into the consumption of input/output tokens against entitlements for Models
73-
* Manage content for Knowledge Bases
74-
* Manage team access to all resources
75-
* Create and manage connection keys to connect your apps with all resources
76-
* Track activity logs for team access and connection key management
77-
78-
## Mendix Cloud GenAI Connector
79-
80-
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:
81-
82-
* GenAI for Mendix bundle v2.4.1 (Mendix 9) (contains Mendix Cloud GenAI connector) or
83-
* Mendix Cloud GenAI connector v3.1.1 (no `DeployedKnowledgeBase` support) or
84-
* Mendix Cloud GenAI connector v4.4.0 (`DeployedKnowledgeBase` support).
85-
8668
## Regional Availability
8769

8870
Mendix Cloud GenAI Resource Packs are available in the following regions of Mendix Cloud:
8971

9072
* Europe (Frankfurt) - eu-central-1
9173
* Canada (Montreal) - ca-central-1
9274

75+
The availability of model versions depends on the selected region.
76+
9377
## Understanding Third-Party Requirements
9478

9579
Mendix AI services are powered by third-party technologies, including AWS Bedrock, Anthropic, and Cohere. To help you succeed with your implementation, here is what to do next:
@@ -109,6 +93,28 @@ Save these links for future reference. Always review the terms before starting d
10993
Compliance with these terms is mandatory to maintain access to the services.
11094
{{% /alert %}}
11195

96+
## More resources
97+
98+
### Mendix Cloud GenAI Portal
99+
100+
The [Mendix Cloud GenAI Portal](https://genai.home.mendix.com/) allows easy access to manage the resources through the GenAI Resources section of the portal.
101+
102+
* Get insight into the consumption of input/output tokens for Text and Embeddings Generation Resources.
103+
* Manage content for Knowledge Bases.
104+
* Manage team access to all resources.
105+
* Create and manage connection keys to connect your apps with all resources.
106+
* Track activity logs for team access and connection key management.
107+
108+
For more information, see [Navigate through the Mendix Cloud GenAI Portal](/appstore/modules/genai/mx-cloud-genai/Navigate-MxGenAI/).
109+
110+
### Mendix Cloud GenAI Connector
111+
112+
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:
113+
114+
* GenAI for Mendix bundle v2.4.1 (Mendix 9) (contains Mendix Cloud GenAI connector) or
115+
* Mendix Cloud GenAI connector v3.1.1 (no `DeployedKnowledgeBase` support) or
116+
* Mendix Cloud GenAI connector v4.4.0 (`DeployedKnowledgeBase` support).
117+
112118
## FAQ
113119

114120
### What Happens to Data Processed by Mendix Cloud GenAI Services?

0 commit comments

Comments
 (0)