-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Milestone
Description
We need a Python module that takes natural language input and returns validated system commands.
Requirements:
- Support Claude API and OpenAI GPT-4
- Input: User intent string (e.g., "install docker")
- Output: List of safe bash commands to execute
- Include prompt templates for different command types
- Error handling for API failures
- Unit tests with 80%+ coverage
Example:
from cortex.ai import CommandInterpreter
interpreter = CommandInterpreter(api_key="...")
commands = interpreter.parse("install docker with nvidia support")
# Returns: ["apt update", "apt install docker.io", "apt install nvidia-docker2"]Acceptance Criteria:
- Works with Claude and GPT-4 APIs
- Handles 20+ common installation scenarios
- Validates commands before returning
- Includes comprehensive test suite
- Documentation with examples
Skills: Python, API integration, prompt engineering
Bounty: $200 upon merge
Metadata
Metadata
Assignees
Labels
No labels