Metadata-Version: 2.1
Name: mirageml
Version: 0.1.38
Summary: Your Personal AGI
Author: Mirage ML Inc
Author-email: support@mirageml.com
Description-Content-Type: text/markdown
Requires-Dist: rich ==13.5.2
Requires-Dist: typer ==0.9.0
Requires-Dist: chardet ==5.2.0
Requires-Dist: qdrant-client ==1.6.0
Requires-Dist: transformers ==4.34.0
Requires-Dist: ctransformers ==0.2.27
Requires-Dist: sentence-transformers ==2.2.2
Requires-Dist: torch ==2.0.1
Requires-Dist: pyjwt ==2.8.0
Requires-Dist: keyring ==24.2.0
Requires-Dist: requests ==2.31.0
Requires-Dist: supabase ==1.2.0
Requires-Dist: segment-analytics-python ==2.2.3
Requires-Dist: pyperclip ==1.8.2
Requires-Dist: prompt-toolkit ==3.0.39
Requires-Dist: tiktoken ==0.5.1
Requires-Dist: langchain ==0.0.279
Requires-Dist: typing-extensions ==4.8.0
Requires-Dist: cffi ==1.16.0

# 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](CONTRIBUTING.md) file for details on installing pip pacakages, testing, and linting.
4. Make your changes in this branch.
5. Commit your changes: `git commit -m "Your commit message"`
6. Push your changes to your forked repository: `git push origin your-branch-name`
7. 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](mailto:support@mirageml.com) for support.
