-
Notifications
You must be signed in to change notification settings - Fork 693
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
10 changed files
with
77 additions
and
11 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Terminal | ||
|
||
1. Follow the instruction in [Quick Start](../quickstart.md) to clone the repo and make configurations | ||
|
||
```bash | ||
git clone https://github.com/microsoft/TaskWeaver.git | ||
cd TaskWeaver | ||
# install the requirements | ||
pip install -r requirements.txt | ||
``` | ||
|
||
```json | ||
{ | ||
"llm.api_key": "the api key", | ||
"llm.model": "the model name, e.g., gpt-4" | ||
} | ||
``` | ||
|
||
2. Run the following command in terminal. | ||
```bash | ||
# assume you are in the taskweaver folder | ||
# -p is the path to the project directory | ||
python -m taskweaver -p ./project/ | ||
``` | ||
This will start the TaskWeaver process and you can interact with it through the command line interface. | ||
If everything goes well, you will see the following prompt: | ||
|
||
```bash | ||
========================================================= | ||
_____ _ _ __ | ||
|_ _|_ _ ___| | _ | | / /__ ____ __ _____ _____ | ||
| |/ _` / __| |/ /| | /| / / _ \/ __ `/ | / / _ \/ ___/ | ||
| | (_| \__ \ < | |/ |/ / __/ /_/ /| |/ / __/ / | ||
|_|\__,_|___/_|\_\|__/|__/\___/\__,_/ |___/\___/_/ | ||
========================================================= | ||
TaskWeaver: I am TaskWeaver, an AI assistant. To get started, could you please enter your request? | ||
Human: ___ | ||
``` |
2 changes: 1 addition & 1 deletion
2
website/docs/taskweaver_as_a_lib.md → website/docs/usage/library.md
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
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
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
File renamed without changes
File renamed without changes