Skip to main content

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:

  1. Fork the repository: Click on the 'Fork' button at the top right corner of the repository page on GitHub.
  2. Clone the forked repository to your local machine. git clone https://github.com/<user_name>/mirageml_pip.git
  3. Create a new branch for your changes: git checkout -b <user_name>/your-branch-name
  4. Review the CONTRIBUTING.md file for details on installing pip pacakages, testing, and linting.
  5. Make your changes in this branch.
  6. Commit your changes: git commit -m "Your commit message"
  7. Push your changes to your forked repository: git push origin your-branch-name
  8. 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


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.25.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

mirageml-0.1.25-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file mirageml-0.1.25.tar.gz.

File metadata

  • Download URL: mirageml-0.1.25.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for mirageml-0.1.25.tar.gz
Algorithm Hash digest
SHA256 5e767126e476f27c9610acfaa8c9d72cdeea8d210dd69bc61e8684ced2280164
MD5 b673f659044530f7420da36a06ad078d
BLAKE2b-256 15835586a2417fc6f52ef435df5757faf81ea8212d56a1a77e4c16a91ca37039

See more details on using hashes here.

File details

Details for the file mirageml-0.1.25-py3-none-any.whl.

File metadata

  • Download URL: mirageml-0.1.25-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for mirageml-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 727e59426b43148bcd81d6a67783fe40d8f280e359509cc7c9c80432116c4937
MD5 c9c72cc14cec45aba0e521ab14337bfc
BLAKE2b-256 46e5be70da3dfc71423b47d40dd3b354e127fa184c474f90d64fc0d2c7e1ca4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page