This skill enables the use of the Addis Assistant API for both Speech-to-Text (STT) and text Translation.
This skill provides two primary functions:
Both functions require an x-api-key. This key should be provided as an argument to the respective scripts.
api.addisassistant.com/api/v2/sttPOSTaudio: Path to the audio file (e.g., "@/path/to/file")request_data: JSON string with "language_code": "am" (Amharic is the default and only supported language for now).api.addisassistant.com/api/v1/translatePOSTtext: The text to be translated.source_language: The language of the input text (e.g., "am").target_language: The language to translate the text into (e.g., "en").This skill includes scripts/ for direct execution and references/ for API details.
stt.py: Python script for Speech-to-Text.translate.py: Python script for text Translation.api_spec.md: Detailed API specifications and curl examples.共 1 个版本