Skip to content

Commit

Permalink
docs: update github links for new repo structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jrriehl committed Aug 14, 2023
1 parent f978f5c commit a73e994
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/docs/booking-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ restaurant = Agent(

fund_agent_if_low(restaurant.wallet.address())
```
The protocols `query_proto` and `book_proto` are built from message handlers in the same way as agents. See [query protocol](https://github.com/fetchai/uAgents/blob/master/examples/09-booking-protocol-demo/protocols/query.py) and [book protocol](https://github.com/fetchai/uAgents/blob/master/examples/09-booking-protocol-demo/protocols/book.py) for the details and logic behind these protocols, but for now we will simply import them. You will need to add these files inside a `protocols` folder in the same directory you are running your agent. See [agent protocols](agent-protocols.md) for more information.
The protocols `query_proto` and `book_proto` are built from message handlers in the same way as agents. See [query protocol](https://github.com/fetchai/uAgents/blob/main/python/examples/09-booking-protocol-demo/protocols/query.py) and [book protocol](https://github.com/fetchai/uAgents/blob/main/python/examples/09-booking-protocol-demo/protocols/book.py) for the details and logic behind these protocols, but for now we will simply import them. You will need to add these files inside a `protocols` folder in the same directory you are running your agent. See [agent protocols](agent-protocols.md) for more information.
Next we build the restaurant agent from these protocols and set the table availability information.

```python
Expand Down Expand Up @@ -175,5 +175,5 @@ You should see this printed on the user terminal:
<span data-ty>Table reservation was successful</span>
</div>

See the full example scripts at [restaurant](https://github.com/fetchai/uAgents/blob/master/examples/09-booking-protocol-demo/restaurant.py) and
[user](https://github.com/fetchai/uAgents/blob/master/examples/09-booking-protocol-demo/user.py).
See the full example scripts at [restaurant](https://github.com/fetchai/uAgents/blob/main/python/examples/09-booking-protocol-demo/restaurant.py) and
[user](https://github.com/fetchai/uAgents/blob/main/python/examples/09-booking-protocol-demo/user.py).

0 comments on commit a73e994

Please sign in to comment.