-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
# langgraph-waii | ||
# Using Waii with LangGraph | ||
|
||
sample application for langgraph + waii. | ||
This sample application shows how to use Waii with LangGraph. | ||
|
||
You will need a Waii API key, which you can request on www.waii.ai | ||
|
||
## Setup Steps | ||
|
||
1. **Set Environment Variables** | ||
|
||
Before running the script, you need to set up the following environment variables: | ||
|
||
- `WAII_URL`: The URL for the WAII service you want to use (default: sql.waii.ai) | ||
- `WAII_API_KEY`: Your API key for the WAII service | ||
- `DB_CONNECTION`: Your WAII database connection string | ||
|
||
2. **Install Requirements** | ||
|
||
In the main folder run: | ||
|
||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
This will install all the necessary dependencies for the script. | ||
|
||
3. **Run the Script** | ||
|
||
Once the environment variables are set and the requirements are installed, you can run the script: | ||
|
||
```bash | ||
python conversational_analytics.py | ||
``` |