-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added AgentMessage type for conversations * added VisionAgentV2 * added VisionAgentV2 to imports * made timeout 3 minutes * consolidated types and added AgentMessage to utils * fixed owl_v2_image name in prompts * fix flake8 * added abstract classes for coder and planner * add message to agentmessage functionality * added documentation * add make file * fix chat highlighting * fix issues with app * added readme for app * add matplotlib to deps * make local app work with conv agent * update v2 actions, make max_steps argument * don't add file names to non-user chats * fix typo * update action descriptions
- Loading branch information
1 parent
30684ca
commit add011d
Showing
20 changed files
with
1,839 additions
and
1,134 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,25 @@ | ||
# Example App | ||
This is an example applicaiton to demonstrate how to run VisionAgent locally. | ||
|
||
|
||
# Quick Start | ||
To get started install the fastapi library: | ||
```bash | ||
pip install "fastapi[standard]" | ||
``` | ||
|
||
Then cd into `chat-app` and run `make` to install the node dependencies. | ||
|
||
To start the server run: | ||
```bash | ||
fastapi dev app.py | ||
``` | ||
|
||
And to start the front end, in the chat-app folder run: | ||
```bash | ||
npm run dev | ||
``` | ||
|
||
Then go to `http://localhost:3000` in your browser to see the app running. | ||
|
||
![screenshot](https://github.com/landing-ai/vision-agent/blob/main/assets/screenshot.png?raw=true) |
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,18 @@ | ||
.PHONY: all | ||
all: setup | ||
|
||
.PHONY: add-components | ||
add-components: | ||
npx shadcn@latest add button card scroll-area tabs | ||
npx shadcn@latest add collapsible | ||
|
||
# Target to install dependencies using package-lock.json | ||
.PHONY: install-dependencies | ||
install-dependencies: | ||
npm install --legacy-peer-deps react-syntax-highlighter | ||
npm config set legacy-peer-deps true | ||
npm ci | ||
|
||
# Setup target to run all necessary commands | ||
.PHONY: setup | ||
setup: add-components install-dependencies |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.