Skip to content

AiConnection Configuration Item Object

AiConnection is a Common module configuration item object used to connect Lowgile to Large Language Model (LLM) providers.

It stores the runtime configuration used when workflows, services, scripts, and integrations communicate with LLMs.

Configure AiConnection before implementing AI features such as structured extraction, PDF analysis, tool calling, or AI-assisted workflow automation.

The AiConnection object structure is defined under:

  • Common → ConfigurationItem → AiConnection

Runtime values are configured from:

  • Configure → Settings

Insight

Configured values are managed in the development environment as part of the application configuration and are compiled into the final application build for production deployment.

To review or update the configured values:

  1. Open the Lowgile application.
  2. Select Configure from the left navigation.
  3. Open Settings.
  4. Look for Module Common.
  5. Locate AiConnection.
  6. Expand it using the chevron icon.
  7. Review the configured settings.
  8. If a value is missing or incorrect, click the pencil icon to edit the setting.
  9. Save your changes before continuing.

The following properties are used to configure AI provider connections.

If a property supports a platform default, leaving it unset allows Lowgile to use the default value.

Attention

Never commit real API keys or secrets into source control or shared documentation.

PropertyExample valueDescription
aiTypeAzureOpenAiSelects the AI provider type used by the connection, such as AzureOpenAi, Anthropic, or another supported provider.
instanceNameai-instance-nameThe provider instance, resource, or service identifier used by the selected AI provider.
deploymentNamegpt-4oThe model or deployment name used for chat or text-generation calls.
embeddingsDeploymentNametext-embedding-3-smallThe deployment name used for embeddings calls. Required only when the application uses embeddings.
apiKey<YOUR_API_KEY>Secret API key used to authenticate with the AI provider.
apiVersion2024-06-01API version used by the provider, when required by the selected provider.
tracingEnabledtrueEnables or disables tracing for AI calls.
tracingEndpointhttps://api.smith.langchain.comEndpoint used for tracing, typically LangSmith.
tracingApiKey<YOUR_TRACING_API_KEY>Secret API key used for tracing. Required only when tracing is enabled.
usdPer1000InputTokens0.005Optional cost value used to estimate or track input-token cost.
usdPer1000OutputTokens0.015Optional cost value used to estimate or track output-token cost.

AiConnection supports optional LangSmith tracing for monitoring and analyzing AI requests.

The default tracing endpoint is:

https://api.smith.langchain.com

For detailed LangSmith setup instructions, tracing concepts, and project configuration, see the official LangSmith documentation.