Skip to content

Commit

Permalink
docs: update install directions more
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Nov 21, 2024
1 parent a52d08e commit 7788cb3
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 19 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ LLMs with tool usage.
Requires Python 3.10+

```shell
# clone the ReDel repo
$ git clone https://github.com/zhudotexe/redel.git
$ cd redel
# install python dependencies
$ pip install -e ".[all]"
$ pip install "redel[all] @ git+https://github.com/zhudotexe/redel.git@main"
# run web visualization of a ReDel system with web browsing
$ OPENAI_API_KEY="..." python -m redel.server
```
Expand Down
41 changes: 32 additions & 9 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,40 @@ Want to see what ReDel can do? To get started, we'll set up a ReDel instance wit

You'll need Python 3.10 or higher. First, you'll need to install the library:

.. code-block:: console
.. tab:: PyPI (Dev)

.. code-block:: console
$ pip install "redel[all] @ git+https://github.com/zhudotexe/redel.git@main"
$ playwright install chromium
.. warning::
The default installation without any extras defined is a "thin" configuration - it contains only what's needed
to run a ReDel system, without the web interface or bundled tools. This can be useful to avoid dependency
pollution, but we recommend installing the ``all`` or ``web`` extra if it's your first time using the library.

.. tab:: PyPI (Stable)

.. code-block:: console
$ pip install "redel[all]"
$ playwright install chromium
.. warning::
The default installation without any extras defined is a "thin" configuration - it contains only what's needed
to run a ReDel system, without the web interface or bundled tools. This can be useful to avoid dependency
pollution, but we recommend installing the ``all`` or ``web`` extra if it's your first time using the library.

.. tab:: From Source

# clone the ReDel repo
$ git clone https://github.com/zhudotexe/redel.git
$ cd redel
# install python dependencies
$ pip install -e ".[all]"
$ playwright install chromium
.. code-block:: console
.. note::
Although ReDel is also available on PyPI, we recommend cloning from source for now.
# clone the ReDel repo
$ git clone https://github.com/zhudotexe/redel.git
$ cd redel
# install python dependencies
$ pip install -e ".[all]"
$ playwright install chromium
Then, use the following code as a starting point in a new file (e.g. ``server.py``). This snippet defines the LLM engine
your agents will use, what tools they have available, and serves the system configuration over your local interface.
Expand Down
38 changes: 32 additions & 6 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,40 @@ Installation

TL;DR: ReDel requires Python 3.10+. You can install ReDel though pip:

.. code-block:: console
.. tab:: PyPI (Dev)

.. code-block:: console
$ pip install "redel[all] @ git+https://github.com/zhudotexe/redel.git@main"
$ playwright install chromium
.. warning::
The default installation without any extras defined is a "thin" configuration - it contains only what's needed
to run a ReDel system, without the web interface or bundled tools. This can be useful to avoid dependency
pollution, but we recommend installing the ``all`` or ``web`` extra if it's your first time using the library.

.. tab:: PyPI (Stable)

.. code-block:: console
$ pip install "redel[all]"
$ pip install "redel[all]"
$ playwright install chromium
.. warning::
The default installation without any extras defined is a "thin" configuration - it contains only what's needed
to run a ReDel system, without the web interface or bundled tools. This can be useful to avoid dependency
pollution, but we recommend installing the ``all`` or ``web`` extra if it's your first time using the library.

.. tab:: From Source

.. code-block:: console
.. warning::
The default installation without any extras defined is a "thin" configuration - it contains only what's needed to
run a ReDel system, without the web interface or bundled tools. This can be useful to avoid dependency pollution,
but we recommend installing the ``all`` or ``web`` extra if it's your first time using the library.
# clone the ReDel repo
$ git clone https://github.com/zhudotexe/redel.git
$ cd redel
# install python dependencies
$ pip install -e ".[all]"
$ playwright install chromium
Extras
------
Expand Down

0 comments on commit 7788cb3

Please sign in to comment.