Advanced configuration
This is an example of a more advanced AI configuration file.
llm:
model: gpt-4
temperature: 0
keys:
- name: OPENAI_API_KEY
value: YOUR_OPENAI_API_KEY_HERE
- name: ACTIVELOOP_TOKEN
value: YOUR_ACTIVELOOP_TOKEN_HERE
- name: SERPER_API_KEY
value: YOUR_SERVER_TOKEN_HERE
tools:
- name: Calculator
type: llm-math
- name: Search Engine
description: use this tool for current events and up-to-date general information
type: google_serper_api
- name: awscli (aws cli) command line tool
type: aws-cli
- name: kubectl command line tool
type: kubectl
- name: Release Tool (release api)
type: release
- name: Cron Jobs Tool
type: cron
The following is a list of tools you can configure to use with the Release AI.
- name: Calculator
type: llm-math
- name: Search Engine
type: google_serper_api
- name: awscli (aws cli) command line tool
type: aws-cli
- name: kubectl command line tool
type: kubectl
- name: Cron (cron jobs) tool
type: cron
- name: Release Tool (release api)
type: release
To create a basic config file, use the CLI
config-init
command.release ai config-init --api-key YOUR_OPENAI_API_KEY_HERE
This will generate a file called
tools.yaml
in your ~/.release/
folder, for upload to the Release backend.To upload a Release AI configuration file, run
release ai config-upsert
.To select the Release AI configuration file for use, run
release ai config-select
.You can modify the Release AI configuration file. To upload the new version, run
release ai config-upsert --path tools2.yaml --name tools2
.Select which Release AI configuration file to use with
release ai config-select
.Delete a Release AI configuration file from the backend with
release ai config-delete
.Last modified 11d ago