▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Ollama Chat
Ollama Chat

Ollama Chat

A versatile Minecraft plugin that integrates Ollama and OpenAI-class APIs, providing multi-language support, real-time AI interactions, and advanced prompt and conversation management for immersive in-game experiences.

589
5
Все версииOllama Chat 1.1.8

Ollama Chat 1.1.8

Release1 нед. назад

Список изменений

Version 1.1.8

Overview

This major release introduces comprehensive web search capabilities with multi-engine support (Bocha and Brave), enhanced configuration management, and improved user experience with new commands and language switching. The update focuses on bringing real-time information retrieval to AI conversations while maintaining flexibility for international users. This version supports Minecraft 1.20.x through 1.21.x.

New Features

  • Web Search Integration:

    • Added support for two search engines: Bocha (Chinese-focused) and Brave (International)
    • Automatic web search when messages contain trigger keywords (configurable)
    • Manual search command /ollamachat search query <text> for on-demand searches
    • Search results are formatted and fed to AI for informed responses
    • Configurable result count (1-50), site filtering, and time range restrictions
  • Multi-Engine Support:

    • Bocha Search Engine: Chinese-focused search with site inclusion/exclusion, time range, and freshness filters
    • Brave Search Engine: International search with country, language, and safe search settings
    • Easy switching between engines via /ollamachat search engine <name>
  • New Search Management Commands:

    • /ollamachat search toggle - Enable/disable web search
    • /ollamachat search status - View current search configuration
    • /ollamachat search engine [name] - Show/change search engine
    • /ollamachat search setkey <engine> <key> - Set API key for engines
    • /ollamachat search setcount <number> - Configure result count
    • /ollamachat search addkeyword <word> - Add trigger keywords
    • /ollamachat search removekeyword <word> - Remove trigger keywords
    • /ollamachat search listkeywords - List all trigger keywords
  • Language System Improvements:

    • Hot-reload language files with /ollamachat reload

Enhancements

  • Configuration:

    • Added complete web-search configuration section with detailed comments
    • Engine-specific configuration blocks for Bocha and Brave
    • Configurable trigger keywords for automatic search
    • Customizable search prompt template for AI context
    • Removed config-version for simpler upgrades
  • Performance:

    • Asynchronous search operations to prevent server lag
    • Efficient result parsing and formatting
    • Connection pooling for search API requests

Configuration Example

web-search:
  enabled: false
  auto-trigger: true
  trigger-keywords:
    - "search"
    - "find"
    - "what is"
  result-count: 5
  engine: "brave"
  
  bocha:
    api-key: ""
    include-sites: false
    include-sites-list: []
    exclude-sites: false
    exclude-sites-list: []
    time-range: 0
    freshness: ""
  
  brave:
    api-key: ""
    country: "US"
    search-lang: "en"
    ui-lang: "en"
    safe-search: "moderate"
  
  prompt-template: "Based on the following search results... {search_results} ... {prompt}"

Permissions:

  • New permissions added for search management:
    • ollamachat.search.toggle - Enable/disable search
    • ollamachat.search.status - View search status
    • ollamachat.search.query - Perform manual searches
    • ollamachat.search.setkey - Set API keys
    • ollamachat.search.setcount - Configure result count
    • ollamachat.search.keywords - Manage trigger keywords
    • ollamachat.search.engine - Change search engine

Commands Usage Examples

# Enable web search
/ollamachat search toggle

# Change search engine to Bocha
/ollamachat search engine bocha

# Set Brave API key
/ollamachat search setkey brave your-api-key-here

# Perform manual search
/ollamachat search query latest Minecraft updates

# Add trigger keyword
/ollamachat search addkeyword research

# Check search status
/ollamachat search status

# Reload configuration with new language
/ollamachat reload

Файлы

OllamaChat-1.1.8.jar(84.53 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1.8

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.20–1.21.11

Загрузок

4

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная