-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TypeError: Can't instantiate abstract class DbResource without an imp…
…lementation for abstract method 'answer'
- Loading branch information
中山亜蘭
committed
Oct 11, 2024
1 parent
ffae625
commit 47ecfe8
Showing
3 changed files
with
27 additions
and
5 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,7 +1,25 @@ | ||
# Access Database resources and inference by DANA | ||
|
||
## Commands for set-up and run | ||
## Setting-up | ||
- What you need | ||
- commands (if you are mac user, you can install those things by Homebrew) | ||
- mysql | ||
- Also, create or use existing database for this example. | ||
- poetry | ||
- API Key | ||
- Use your own OpenAI API key | ||
|
||
- Setting up Commands | ||
- `cd examples/use-rdb-resource` | ||
- `poetry install` | ||
- `cp .env.template .env` | ||
- update .env data with your environment data | ||
- `poetry run python make_example_table_data.py` | ||
- if this command doesn't work, then run `poetry env use 3.12` | ||
- change python version to resolve dependensies version | ||
- | ||
|
||
|
||
## What is this example doing? | ||
|
||
## What is this folder doing? | ||
|
||
## Check Result |
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 |
---|---|---|
|
@@ -6,12 +6,15 @@ authors = ["Your Name <[email protected]>"] | |
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
python = ">=3.12,<3.13" | ||
pymysql = "^1.1.1" | ||
kaleido = "0.2.1" | ||
vanna = "^0.7.3" | ||
chromadb = "^0.5.11" | ||
faker = "^30.1.0" | ||
sqlalchemy = "^2.0.35" | ||
openai = "^1.51.2" | ||
openssa = "^0.24.10.10" | ||
|
||
|
||
[build-system] | ||
|