Strata AI Documentation
  • Welcome to the future
  • Getting Started
    • Quickstart
    • Installation
    • LLM API
    • Tools Configuration
  • High Level Guides
    • Inter-Agent Communication
    • Development
    • Serialization & Breakpoint Recovery
    • Implementation Logic
    • RAG Module
    • Environment
    • Integrations
  • API Documentation
    • Initial Documentation
Powered by GitBook
On this page
  1. Getting Started

Tools Configuration

Configuration for Tools (Optional)

In addition to LLMs, we often want agents to use tools. This section covers their setup.

Web Searching API

Check search_config.py for configuration.

## Supported api_type: serpapi/google/serper/ddg
## serper: Visit https://serper.dev/ to get key.
## serpapi: Visit https://serpapi.com/ to get key.
## google: Visit https://console.cloud.google.com/apis/credentials to get key.
## ddg: it is free, no need to get key.
search:
  api_type: 'google' # serpapi/google/serper/ddg
  api_key: 'YOUR_API_KEY'
  cse_id: 'YOUR_CSE_ID' # only for google
  params:
    engine: google # google/bing/yahoo/baidu/yandex, check https://serpapi.com/bing-search-api for more details
    google_domain: 'google.com'
    gl: us
    hl: en

Web Browsing

Check browser_config.py for configuration.

browser:
  engine: 'playwright' # playwright/selenium
  # for playwright engine, please check https://playwright.dev/python/docs/api/class-browsertype
  # for selenium engine, please check https://www.selenium.dev/documentation/webdriver/browsers
  browser_type: 'chrome' # playwright: chromium/firefox/webkit; selenium: chrome/firefox/edge/ie

Azure TTS

### for TTS
azure_tts_subscription_key: 'YOUR_API_KEY'
azure_tts_region: 'eastus'

Mermaid

Check mermaid_config.py for configuration.

PreviousLLM APINextInter-Agent Communication

Last updated 4 months ago