ServerAssistantAI
WebsitePurchaseDiscord
1.3.2
1.3.2
  • 🤖ServerAssistantAI
    • Showcase
    • Features
    • Test Server
  • ⭐Getting Started
    • How ServerAssistantAI Works
    • Prerequisites
    • Installation
    • Commands & Permissions
    • Addons
  • 🛠️Configuration
    • The Basics
    • Config YAML File
    • Credentials YAML File
    • Minecraft Config Folder
    • Discord Config Folder
    • Documents Folder
    • Interaction Messages Folder
    • Messages YAML File
  • 🤖Providers & Models
    • AI Providers
      • Configuring Providers
      • Embedding Provider Options
      • Chat (LLM) Provider Options
      • Question Detection Provider Options
    • Recommended Models
    • Free Models
    • Paid Models
  • 🆘FAQs & Support
    • FAQs
    • Official Support
    • Troubleshooting
  • 💻Developers
    • API
Powered by GitBook
On this page

Was this helpful?

  1. Configuration

Credentials YAML File

The credentials.yml file is used to store API keys and other credentials required by ServerAssistantAI and its addons. This file is updated dynamically as you install new addons.

PreviousConfig YAML FileNextMinecraft Config Folder

Was this helpful?

Configuring Credentials:

  • credentials.cohere.api_key: Your API key.

  • credentials.openai.api_key: Your API key.

To obtain credentials for each provider, please visit the wiki page. This page contains detailed information about the supported AI providers and where the necessary API keys or access tokens can be found.

When using models from providers like Cohere or OpenAI, make sure to enter the appropriate API keys or access tokens in the credentials.yml file. These credentials are necessary for ServerAssistantAI to authenticate and access the required providers.

credentials.yml:
# ServerAssistantAI Credentials Configuration
# ===========================================
# This file is updated dynamically as you install new addons that require API keys or other credentials.
# Please do not modify this file manually unless filling in the generated credentials or if instructed by an update or the documentation.
# To view the URLs for obtaining API keys for each provider, visit https://wiki.code-solutions.dev/serverassistantai/providers-and-models/ai-providers
# ===========================================

# Here you can configure credentials for services, such as APIs. Do not add your own service manually.
credentials:
  cohere:
    api_key: ''
  openai:
    api_key: ''
🛠️
Cohere
OpenAI
AI Providers