Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

LLM Provider

Embedded Object Grooper.GPT

LLM Providers define web service connections to large language models, and enable the use of LLM_based AI functionality in Grooper.

Remarks

Large Language Model (LLM) providers enable Grooper to connect with external AI services for advanced language processing tasks such as chat, embeddings, and fine-tuning.

Overview

The LLM Provider base class defines the contract for all LLM service integrations in Grooper. It is not used directly, but is implemented by specific providers such as Open AI Provider and Azure Provider.

Providers manage the connection details, authentication, and available models for their respective services. Each implementation exposes a set of models and capabilities, and may support different configuration patterns:

Configuration

To use an LLM provider:

  1. Add a provider object (such as Open AI Provider or Azure Provider) to your project or configuration.
  2. Set the required connection properties, such as 'URL', 'Authorization', and 'API Key', or add Service Deployments as needed.
  3. Enable or disable the provider using the 'Enabled' property.
  4. Adjust timeouts and other options to match your service requirements.

The available models and features depend on the provider type and your service subscription.

Usage Notes

  • Each provider exposes lists of available model IDs for chat, embeddings, and other operations.
  • Use the 'Timeout' and 'Completion Timeout' properties to control how long Grooper waits for responses from the service.
  • The 'Enabled' property allows you to temporarily disable a provider without removing its configuration.
  • Some providers (such as Azure Provider) support multiple deployments, allowing you to target different models or endpoints within a single provider.

Extensibility

To implement a custom LLM provider in an Object Library, inherit from LLM Provider and override the required members to supply model lists, connection logic, and service instantiation.

Related Types

Properties

NameTypeDescription
General
Options

Derived Types

There are 3 implementations of LLM Provider.

Azure Provider Defines a connection to one or more Azure LLM service deployments.
GCS Provider Defines a connection to Grooper Cloud Services.
Open AI Provider Defines a connection to the OpenAI API or an OpenAI-compatible service for use as an LLM provider in Grooper.

Used By

Notification