mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 17:21:23 +02:00
GDPR-compliant replacement for telegram-ollama-bot using Matrix protocol: New service: services/matrix-ollama-bot/ - NestJS application with matrix-bot-sdk - Same functionality as telegram-ollama-bot - Commands: !help, !models, !model, !mode, !clear, !status - System prompts: default, classify, summarize, translate, code - Chat history per user (last 10 messages) Changes: - docker-compose.macmini.yml: Added matrix-ollama-bot service - health-check.sh: Added Matrix Ollama Bot health check Environment variables required: - MATRIX_OLLAMA_BOT_TOKEN: Bot access token - MATRIX_OLLAMA_BOT_ROOMS: Optional room restrictions https://claude.ai/code/session_01E3r5aFW3YLAhEJfsL2ryhv
10 lines
269 B
TypeScript
10 lines
269 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MatrixService } from './matrix.service';
|
|
import { OllamaModule } from '../ollama/ollama.module';
|
|
|
|
@Module({
|
|
imports: [OllamaModule],
|
|
providers: [MatrixService],
|
|
exports: [MatrixService],
|
|
})
|
|
export class BotModule {}
|