Skip to content

Issue 25 — Natural-Language Interpreter / AI Router for Commands - HARD++ #25

Description

@Irresistible-Ishan

You can use google-generative AI api , for it preferably

Add a lightweight interpreter that converts natural text instructions into corresponding bot commands.
This does not require full AI — a rule-based intention engine is acceptable.

Example inputs:

"bot follow me" → .follow

"drop everything" → .throwall

Context & Approach Guidance
Focus on:

Identifying intent keywords (follow, mine, throw, stop)

Mapping them to command functions

Handling ambiguous instructions politely

Adding optional AI model support via .env key

Architecture considerations:

Should interpreter run before or after manual command parser?

Should feedback always show the interpreted command first?

Acceptance Criteria

Normal commands still work unchanged

Without AI key: fallback to rule-based routing

Outputs interpreted command before execution

Handles unknown phrases with friendly fallback

Labels: hard, AI, architecture, feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions