Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rossdanlm authored Jan 4, 2024
1 parent e926e4e commit 9df8fbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/src/aiconfig/editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Go to url in browser to use app.
### Loading model parsers

To use a model parser that doesn't ship with aiconfig: 0. Make sure your model parser package is installed, e.g.
`pip install python-aiconfig-llama`, or
`pip install aiconfig-extension-gemini`, or
`pip install -e path/to/my/local/parser/package`

1. Make a Python file e.g. my_editor_plugin.py. It must define a () -> None called `register_model_parsers.
Expand Down Expand Up @@ -60,15 +60,15 @@ e.g. `aiconfig edit --parsers-module-path="/path/to/my_editor_plugin.py"`
From the top-level `aiconfig` dir:
```bash
pip3 install -e ./python
alias aiconfig="python -m 'aiconfig.scripts.aiconfig_cli'"
alias aiconfig="python3 -m 'aiconfig.scripts.aiconfig_cli'"
```

### Run backend and frontend servers:
Replace the `aiconfig_path` variable with the path to your AIConfig file.
For example: `cookbooks/Getting-Started/travel.aiconfig.json`
```bash
cd python/src/aiconfig/editor/client && rm -rf node_modules
cd ../../../../..
cd - # go back to aiconfig dir
aiconfig_path="cookbooks/Getting-Started/travel.aiconfig.json"

# Use debug mode to run the frontend react server
Expand Down

0 comments on commit 9df8fbb

Please sign in to comment.