Skip to content

Ollama

To use Ollama as an AI provider in Team Edition, configure it as follows:

Ensure that Ollama is already installed and running on a server. For installation instructions, see the Ollama docs. You will need the host address where Ollama is installed to proceed.

  1. In Team Edition, go to Window -> Preferences -> AI -> Model configurations
  2. Click + and choose Ollama as the engine to create a profile
  3. Specify the host address of your Ollama server in the Instance host field, ensuring it follows the format http://host:port
  4. Use the refresh control next to the Model selector to load the available models from your Ollama server
  5. Select the model you need for your integration
  6. Click Test connection to verify that the server and model work correctly
  7. Apply the changes

Settings

Setting Description Default
Instance host Specify the address of the Ollama server in the format http://host:port, for example http://localhost:11434. If you omit the port, Team Edition uses port 11434.
Model Choose the AI model.
Context size A larger number allows the AI to use more data for better answers but may slow down response time. 30000
Temperature Control AI's creativity from 0.0 (more precise) to 0.9 (more diverse).
Note that higher temperature can lead to less predictable results.
0.0
Request timeout (sec) Maximum time Team Edition waits for a response from the AI engine before the request fails; available under Advanced settings 30
Use environment variables Read supported environment variables to override saved settings; available under Advanced settings Off
Write Ollama queries to debug log Logs your AI requests. For more details on logging, see Log Viewer; available under Advanced settings disabled

Tip

If you use Ollama with a model that supports tool calling, AI tools are available.

Use environment variables

Variable Description
OLLAMA_HOST Instance host
OLLAMA_API_KEY API key
DBEAVER_AI_OLLAMA_MODEL Model name