Conversation
CoAiAPy UpdateThis update summarizes the current capabilities of the project and how to install the latest TestPyPI release. Current Features
Validation
Installation from TestPyPIRun the helper script to create or activate the conda environment and install: scripts/install_test_release.shAlternatively, you can install directly using pip: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple coaiapy |
CoAiAPyCoAiAPy is a Python package that provides functionality for audio transcription, synthesis, and tagging of MP3 files using Boto3 and the Mutagen library. This package is designed to facilitate the processing of audio files for various applications. Features
InstallationTo install the package, you can use pip: pip install coaiapyUsageCLI ToolCoAiAPy provides a CLI tool for audio transcription, summarization, and stashing to Redis. HelpTo see the available commands and options, use the coaia --helpSetupSet these environment variables to use the AWS transcription service: OPENAI_API_KEY
AWS_KEY_ID
AWS_SECRET_KEY
AWS_REGION
REDIS_HOST
REDIS_PORT
REDIS_PASSWORD
REDIS_SSLTranscribe AudioTo transcribe an audio file to text: coaia transcribe <file_path>Example: coaia transcribe path/to/audio/file.mp3Summarize TextTo summarize a text: coaia summarize <text>Example: coaia summarize "This is a long text that needs to be summarized."To summarize text from a file: coaia summarize --f <file_path>Example: coaia summarize --f path/to/text/file.txtStash Key-Value Pair to RedisTo stash a key-value pair to Redis: coaia tash <key> <value>Example: coaia tash my_key "This is the value to stash."To stash a key-value pair from a file: coaia tash <key> --f <file_path>Example: coaia tash my_key --f path/to/value/file.txtFetch Value from RedisTo fetch a value from Redis by key: coaia fetch <key>Example: coaia fetch my_keyTo fetch a value from Redis and save it to a file: coaia fetch <key> --output <file_path>Example: coaia fetch my_key --output path/to/output/file.txtProcess Custom TagsEnable custom quick addons for assistants or bots using process tags. To add a new process tag to coaia p dictkore "my text to correct"ContributingContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes. Test ReleaseTo publish a distribution to TestPyPI, run: make test-releaseThis command cleans build artifacts, installs build tools, runs tests, twine upload --repository testpypi dist/*Ensure Install from TestPyPIYou can install the latest test release into a conda environment using scripts/install_test_release.shLicenseThis project is licensed under the MIT License. See the LICENSE file for more details. |
|
probably crap by codex.... |
Summary
coaiamodulefind_existing_configlogicTesting
pytest -qhttps://chatgpt.com/codex/tasks/task_e_684ed5c11a3883299f5632bcb834ddee