OpenAI Connector
Overview
OpenAI Connector
The Mendix connector for the APIs & large language models by OpenAI.
Getting started
- Signing up for an OpenAI account* - or by leveraging your Azure account.
- Trying out the GenAI showcase app.
- Downloading this connector for your own app in Studio Pro.
- Reviewing the OpenAI documentation.
* If you have signed up for an OpenAI account and are using free trial credits, note that these are only valid for three months after the account has been created (not after the API key has been created). For more details, see the OpenAI API reference
Text generation
Develop interactive AI chatbots and virtual assistants that can carry out conversations in a natural and engaging manner. Use OpenAI’s large language models for text comprehension and analysis use cases such as summarization, synthesis and answering questions about large amounts of text. Fine-tune the OpenAI models on a specific task or domain, by training it on custom data, to improve its performance.
This connector simplifies integration with OpenAI’s platform.
All chat completions operations within the OpenAI connector support JSON mode, function calling, and vision.
With chat completions, you can build applications to:
- Draft documents
- Write computer code
- Answer questions about a knowledge base
- Analyze texts
- Give software a natural language interface
- Tutor in a range of subjects
- Translate languages
- Simulate characters for games
- Analyze images with vision
OpenAI provides market-leading large language model capabilities with GPT-4:
- Advanced reasoning: Follow complex instructions in natural language and solve difficult problems with accuracy.
- Creativity: Generate, edit, and iterate with users on creative and technical writing tasks, such as composing songs, writing screenplays, or learning a user’s writing style.
- Longer context: GPT-4 is capable of handling over 25,000 words of text, allowing for use cases like long form content creation, extended conversations, and document search and analysis.
Image generation
Generate one or more completely new, original images and art from a text description. Powered by the OpenAI DALL-E API, the connector enables developers to generate these images by combining concepts, attributes, and styles.
Embeddings
Convert strings into vector embeddings for various purposes based on the relatedness of texts. Embeddings are commonly used for:
- Search
- Clustering
- Recommendations
- Anomaly detection
- Diversity measurement
- Classification
Leverage specific sources of information to create a smart chat functionality tailored to your own knowledge base. Combine embeddings with text generation capabilities and implement Retrieval Augmented Generation (RAG) in your own Mendix application.
Compatibility
This connector is compatible with OpenAI's platform as well as Azure's OpenAI service.
Get started integrating generative AI into your Mendix app with an OpenAI or Azure trial account and this connector today!
Documentation
Dependencies
- GenAI Commons v1.5.0 or higher
- Encryption
- Community Commons v10.0.6 or higher
GenAI showcase app
Try out our example showcase app here!
Reference documentation
Technical documentation is available on docs.mendix.com