Skip to main content

Bifrost Language Models Setup

Bifrost Language Models Setup is the setup page of Bifrost Language Models. Open it from the Apps group on Bifrost Setup. It shows at a glance whether the three things the chat needs are in place: language models, the tools the assistant can call, and the API keys.

Most of the page shows status, and each of those values is maintained on the page it links to. The Ask limits are the exception: you change them here.

This page is also the help for the Language Models setup wizard.

Language Models​

A language model connects the chat to a provider (Copilot, OpenAI, Azure OpenAI, a custom LLM, Anthropic, xAI or Google Gemini) and carries the skill: the instructions sent with every chat.

FieldDescription
Language ModelsHow many language models are set up in this company. Choose the number to open the language model list.
Default Language ModelThe model a routine uses when it asks for an answer without naming a model, and the person who runs it has no model on their Bifröst user setup. Shows (none) when no model is the default. The chat does not use it: each person chats with the model on their own user setup.

MCP Tool Server​

The chat offers Bifröst's operations to the language model as tools (Model Context Protocol), so the model can read and change Business Central data for you, with your own permissions.

FieldDescription
Available ToolsHow many tools the chat can call in this company.

Ask Limits​

These limits apply to every question that a routine or an AI agent sends to a language model with data lookup (Ask), in this company. The model may call Bifröst's read-only tools while it answers, and each tool call still counts against the monthly message quota. A cap is the most a question may use: if a question asks for more, it is cut to the cap and the answer carries a warning. A default is what a question uses when it names no limit of its own, and it cannot be above its cap.

Changing these fields needs write permission on the Ask limits. Both BIFROST LLM ori and BIFROST Full ori include that permission. Without it, the fields are shown but cannot be edited. A value that is out of range, or a default above its cap, is refused and the stored value stays.

FieldDescription
Ask Max Tool Calls CapThe most tool calls one question may use, from 1 to 999. The standard value is 40.
Ask Default Tool CallsThe tool calls a question may use when it sets no limit. 1 or more, and not above the cap. The standard value is 15.
Ask Max Rounds CapThe most requests to the provider (rounds) one question may use, from 1 to 999. The standard value is 20.
Ask Default RoundsThe rounds a question may use when it sets no limit. 1 or more, and not above the cap. The standard value is 10.
Ask Max Result Chars CapThe most characters of one tool result that are sent to the model, 1 or more. The standard value is 20,000.
Ask Default Result CharsThe characters of one tool result sent to the model when the question sets no limit. 1 or more, and not above the cap. The standard value is 8,000.

API Keys​

Every provider API key is kept in Bifröst's secret store, not on this app's pages. Each language model has a shared key for the whole company and a personal key for each user.

FieldDescription
Language Models Without a KeyHow many language models need an API key but have neither a shared key nor a personal key of yours. Choose the number to open the language model list. Shown in red while it is above zero.
NoteShown only while keys are missing: keys cannot be moved from another extension, so each key is entered once on the language model.

Actions​

ActionDescription
Language ModelsOpens the language model list.
API KeysOpens Bifrost App Secrets filtered to Bifrost Language Models: every key of every language model and whether a value has been entered. The value itself is never shown.
Setup WizardOpens the Language Models setup wizard, Set up Bifrost Language Models. See Set up with the wizard.
Bifrost Setup WizardOpens the Bifrost setup wizard, which allows every Bifröst app to reach the internet and walks through the credentials of every app.

Reaching the providers​

OpenAI, Azure OpenAI, Custom LLM, Anthropic, xAI and Google Gemini are reached over the internet, so the app must be allowed to make HTTP requests. Copilot does not need it. The Bifrost Setup Wizard allows it for every installed Bifröst app at once. Until then, Bifrost Setup shows a notification with the action Start setup wizard, and a chat with one of those providers fails with a message that HTTP requests are not allowed for the extension.

Getting started​

  1. On Bifrost Setup, choose Bifrost Setup Wizard if you have not run it since installing the app.
  2. Open Bifrost Language Models Setup and choose Language Models. Create a language model with a chat provider and a skill, or choose Init Copilot Defaults for a ready Copilot model.
  3. On the model card, enter the shared API key, or let each user enter a personal key.
  4. Give each person who may chat the BIFROST Chat ori and BIFROST LLM Rd ori permission sets, and BIFROST LLM Chat ori for any provider other than Copilot.
  5. On each person's Bifröst user setup, choose the Language Model Code they chat with.
  6. Open a customer, item or sales document and ask a question in Chat via Bifrost.