Application Flows access external services such as models and databases through connections. Create reusable connections to store access credentials and configurations, then select them directly in Application Flow nodes.
Model service connection
Model Service connections manage the model services invoked in LangStudio workflows.
To configure a connection, go to LangStudio > Connection > Model Service, and click New Connection. The following table describes key parameters for each connection type.
|
Connection type |
Description |
|
General LLM Service |
Configures an LLM service that is compatible with the OpenAI protocol.
|
|
General Embedding Model Service |
Configures an embedding model service deployed to EAS or a third-party platform. |
|
General Multimodal Embedding Model Service |
Configures a multimodal embedding model service deployed to EAS or a third-party platform, supporting vectorization of images and text. |
|
Alibaba Cloud Model Studio Service |
Enter an |
|
DeepSeek Model Service |
|
|
AI Search Open Platform Model Service |
You must first activate the service. Then, refer to Get Service Endpoint and Manage API Keys to configure the |
|
Multimodal Label Model |
Enables intelligent labeling of multimodal data. |
|
General reranker service |
Reranks the top-k documents that an embedding model returns. Only supports model services deployed from Model Gallery. |
Database connection
Database connections store access configurations for supported databases.
To configure a connection, go to LangStudio > Connection > Database, and click New Connection. The following table describes the key parameters.
|
Database |
Description |
|
Search and Analysis Service - Elasticsearch |
|
|
OpenSearch |
|
|
Milvus |
|
|
Hologres |
|
|
ApsaraDB RDS for MySQL |
|
Custom connection
If the built-in connection types do not meet your needs, create a Custom connection using key-value pairs.
Example: Configure a SerpApi connection.
-
Custom key: Enter
api_key. -
Custom value: Enter your SerpApi API Key.
You can register for an account and get an API Key from the official SerpApi website (the free plan provides 100 searches per month).
Next steps
After you create a connection, you can use it in Application Flow development.