Your Personal AGI
Project description
MirageML Python Library
The MirageML Python Library provides a convenient interface to run AI in the terminal using your files or web documentation as context.
Installation
This requires Python 3.9 or later. Install the package with:
pip install -U mirageml
Usage
You can use 'mirageml', 'mirage', or 'mml' to call the package.
mirage [OPTIONS] COMMAND [ARGS]
╭─ Options ─────────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────╮
│ chat Chat with MirageML │
│ login Login to MirageML │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Manage Source ───────────────────────────────────────────────────────────────────────────╮
│ add Add a new source │
│ delete Delete sources │
│ list List sources │
│ sync Sync sources │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Utils and Configs ───────────────────────────────────────────────────────────────────────╮
│ config Manage the config │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
Chat Commands
mirage chat [OPTIONS]
╭─ Options ─────────────────────────────────────────────────────────────────────────────────╮
│ --files -f TEXT Path to files/directories to use as context. │
│ │
│ mirage chat -f {filepath} │
│ [default: None] │
│ --urls -u TEXT URLs to use as context. │
│ │
│ mirage chat -u {url} │
│ [default: None] │
│ --sources -s TEXT Specify sources to use as context: │
│ │
│ Ex: mirage chat -s disney-robot │
│ │
│ Sources: │
│ │
│ • disney-robot │
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
Contributing
If you want to contribute to MirageML, follow these steps:
- Fork the repository: Click on the 'Fork' button at the top right corner of the repository page on GitHub.
- Clone the forked repository to your local machine.
git clone https://github.com/<user_name>/mirageml_pip.git
- Create a new branch for your changes:
git checkout -b <user_name>/your-branch-name
- Review the CONTRIBUTING.md file for details on installing pip pacakages, testing, and linting.
- Make your changes in this branch.
- Commit your changes:
git commit -m "Your commit message"
- Push your changes to your forked repository:
git push origin your-branch-name
- Create a Pull Request: Go to your forked repository on GitHub and click on 'New Pull Request'.
Please provide a clear and concise description of your changes in the pull request description.
Support
Send an email to support@mirageml.com for support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mirageml-0.1.32.tar.gz
(22.0 kB
view details)
Built Distribution
mirageml-0.1.32-py3-none-any.whl
(28.8 kB
view details)
File details
Details for the file mirageml-0.1.32.tar.gz
.
File metadata
- Download URL: mirageml-0.1.32.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a6e9e1e680611ed5e77569a183ea63b5eb64d3d661ffccca74b8c6e7801b19 |
|
MD5 | 82141fccca754f8640693404849e59f7 |
|
BLAKE2b-256 | c400a158dfcb158daab78b66f4930c32b84355e6cb61fa46516709bfd057bbbc |
File details
Details for the file mirageml-0.1.32-py3-none-any.whl
.
File metadata
- Download URL: mirageml-0.1.32-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee85eda057dbfe73285e7bb409b0ef07fd729913aad11b981594c32ad97eec75 |
|
MD5 | 1fab1fb2148dc76ee670465f220746e6 |
|
BLAKE2b-256 | fd591cb6035421ab7921b5681e65fb8f3da5b9da9a4ed2fa310d355d7e6bd3aa |