Skip to content

Commit

Permalink
Fix use case doc structure (lavague-ai#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpalmieri authored May 16, 2024
1 parent 7c04973 commit fe7194c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
13 changes: 6 additions & 7 deletions docs/docs/use-cases/notion.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Navigate through Notion

LaVague can be used to navigate your Notion spaces and answer questions.
LaVague can be used to navigate your Notion spaces and answer questions.

Here is our framework going through a company Notion space and several nested pages to answer the question: **"What's the name of our Lead Developer ?"**
We have created a [public notion space](https://maize-paddleboat-93e.notion.site/Welcome-to-ACME-INC-0ac66cd290e3453b93a993e1a3ed272f) with mock data and nested documents for you to try this example.

Here is our framework going through several nested pages to answer the question: **"What's the name of our Lead Developer ?"** on this demo space.

!["notion_demo"](../../assets/notion_demo.gif)

On the left you can see the Browser being automated and the next interaction highlighted in red. On the right is the world model thoughts and instructions given to our Action Engine.
!["notion_demo"](../../assets/notion_demo.gif)

On the left, you can see our agent navigating and highlighting the next elements to be interacted with. On the right, the reasoning and the low level instructions generated for our Action Engine (which controls the browser).

## Try it yourself

We provide a [public notion space](https://maize-paddleboat-93e.notion.site/Welcome-to-ACME-INC-0ac66cd290e3453b93a993e1a3ed272f) with mock data and a few nested documents for you to try this example.

After [installation](../get-started/quick-tour.md), create a new .py file and run this code to try LaVague with Notion
After [installation](../get-started/quick-tour.md), create a new .py file and run this code to try LaVague with Notion!

```py
from lavague.core import WebAgent, WorldModel, ActionEngine
Expand Down
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ nav:
# - 🌎 Word Model:

- ✅ Use cases:
- Navigate through Notion: "docs/use-cases/notion.md"
- Knowledge Retrieval:
- Navigate through Notion: "docs/use-cases/notion.md"

- 🤗 Contributing:
- Overview: "docs/contributing/contributing.md"
Expand Down

0 comments on commit fe7194c

Please sign in to comment.