Custom LLMs
Last updated
Last updated
As mentioned in , ClauseBuddy integrates with Microsoft Azure's version of GPT4 by default. However, admin can configure additional custom LLMs like so:
From the LLMs preferences pane click + Add new LLM and fill out the form as appropriate. Then click Save.
Notes:
Use "anthropic", "openai" or "azure" (all in lowercase) if you're using the Claude, Azure GPT4 or OpenAI GPT4 models. If those identifiers are entered, some special settings are applied behind-the-scenes.
The Query param string is entirely optional.
For Azure GPT4 (i.e. when "azure" is entered as the "Provider"):
the provided endpoint is automatically suffixed with /openai/deployments/[model]/chat/completions
if the "Query param string" is entered, then that is suffixed as well to the endpoint URL, otherwise a recent version of Microsoft's API is suffixed by default (e.g., "?api-version=2024-03-01-preview")
Your API Key is stored in an encrypted manner at the ClauseBase servers, and will not show up in this editing box in the future.
In addition, when multiple LLMs are available to users it becomes important which LLM would be used by default, when no particular selection is made and the user has not previously made a selection. Admin can configure this with 'Edit priority order' like so:
In this case the admin saved the order Claude 3 Opus (Large) -> Azure GPT4, resulting — in AI modules that support both LLMs — in the following drop-down for users with Claude 3 Opus (Large) pre-selected:
If the user simply clicks 'Draft' here, and hasn't previously made a selection, Claude 3 Opus (Large) would be used right away, because it is the highest-priority LLM available for this AI module.
In this way, setting LLM priority order affects both:
the default LLM used for each AI module, and
the order of the drop-down that appears when multiple LLMs are available to a given AI module.
Individual LLMs (including ClauseBase default LLMs: shown in italics) can be configured to be available only in the context of specific AI modules (such as or ) by editing their Settings:
If you have the enterprise-version of ClauseBuddy, you can also configure LLM settings in combination with profiles of users. See the page on for more information.