mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-23 13:36:31 +00:00
Update README.md for improved clarity and formatting (#5714)
This pull request includes updates to the `README.md` file for the `autogen-studio` package to improve clarity and accuracy. The most important changes include a minor rewrite of the project structure section and updates to the installation instructions (better tabbing).
This commit is contained in:
parent
b37c192424
commit
173e649aa6
@ -18,18 +18,18 @@ Code for AutoGen Studio is on GitHub at [microsoft/autogen](https://github.com/m
|
||||
- **2024-04-17:** April 17: AutoGen Studio database layer is now rewritten to use [SQLModel](https://sqlmodel.tiangolo.com/) (Pydantic + SQLAlchemy). This provides entity linking (skills, models, agents and workflows are linked via association tables) and supports multiple [database backend dialects](https://docs.sqlalchemy.org/en/20/dialects/) supported in SQLAlchemy (SQLite, PostgreSQL, MySQL, Oracle, Microsoft SQL Server). The backend database can be specified a `--database-uri` argument when running the application. For example, `autogenstudio ui --database-uri sqlite:///database.sqlite` for SQLite and `autogenstudio ui --database-uri postgresql+psycopg://user:password@localhost/dbname` for PostgreSQL.
|
||||
- **2024-03-12:** Default directory for AutoGen Studio is now /home/\<USER\>/.autogenstudio. You can also specify this directory using the `--appdir` argument when running the application. For example, `autogenstudio ui --appdir /path/to/folder`. This will store the database and other files in the specified directory e.g. `/path/to/folder/database.sqlite`. `.env` files in that directory will be used to set environment variables for the app.
|
||||
|
||||
Project Structure:
|
||||
## Project Structure:
|
||||
|
||||
- _autogenstudio/_ code for the backend classes and web api (FastAPI)
|
||||
- _frontend/_ code for the webui, built with Gatsby and TailwindCSS
|
||||
- `autogenstudio/` contains code for the backend classes and web api (FastAPI)
|
||||
- `frontend/` contains code for the webui, built with Gatsby and TailwindCSS
|
||||
|
||||
## Installation
|
||||
|
||||
There are two ways to install AutoGen Studio - from PyPi or from source. We **recommend installing from PyPi** unless you plan to modify the source code.
|
||||
There are two ways to install AutoGen Studio - from PyPi or from the source. We **recommend installing from PyPi** unless you plan to modify the source code.
|
||||
|
||||
### Install from PyPi (Recommended)
|
||||
|
||||
We recommend using a virtual environment (e.g., conda) to avoid conflicts with existing Python packages. With Python 3.10 or newer active in your virtual environment, use pip to install AutoGen Studio:
|
||||
We recommend using a virtual environment (e.g., venv) to avoid conflicts with existing Python packages. With Python 3.10 or newer active in your virtual environment, use pip to install AutoGen Studio:
|
||||
|
||||
```bash
|
||||
pip install -U autogenstudio
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user