Getting started#

Installation#

To install the Dialog2Graph project, please follow the steps below:

Install poetry v. 1.8.4 (detailed installation guide)#

pipx install poetry==1.8.4

Clone this repo and install project dependencies#

git https://github.com/deeppavlov/dialog2graph.git
cd dialog2graph
poetry install

Consider installing PyGraphviz from here#

If you plan to visualize your graphs, add PyGraphviz to the poetry environment.

poetry add pygraphviz

Ensure that dependencies were installed correctly by running any Python script#

poetry run python <your_file_name>.py

Create .env file to store credentials#

Note

Never hardcode your personal tokens and other sensitive credentials. Use the .env file to store them.

Explore the project to start your work#