-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
1 parent
eadb91f
commit 29cae00
Showing
6 changed files
with
46 additions
and
145 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,38 @@ | ||
# Data Engineering AI | ||
# Data Engineering Examples | ||
|
||
> Note: Fork and clone this repository if needed | ||
1. Create a virtual environment | ||
### Create a virtual environment | ||
|
||
```shell | ||
python3 -m venv ~/.venvs/aienv | ||
source ~/.venvs/aienv/bin/activate | ||
``` | ||
|
||
2. Install libraries | ||
### 2. Install libraries | ||
|
||
```shell | ||
pip install -r cookbook/examples/data_eng/requirements.txt | ||
``` | ||
|
||
3. Run Python Assistant | ||
### 3. Run DuckDb Assistant | ||
|
||
```shell | ||
python cookbook/examples/data_eng/python_assistant.py | ||
``` | ||
|
||
Ask: | ||
|
||
```text | ||
What is the average rating of movies? | ||
python cookbook/examples/data_eng/duckdb_assistant.py | ||
``` | ||
|
||
4. Run DuckDb Assistant | ||
### 4. Run Python Assistant | ||
|
||
```shell | ||
python cookbook/examples/data_eng/duckdb_assistant.py | ||
python cookbook/examples/data_eng/python_assistant.py | ||
``` | ||
|
||
Ask: | ||
|
||
```text | ||
What is the average rating of movies? Show me the SQL. | ||
What is the average rating of movies? | ||
``` | ||
|
||
5. Message me on [discord](https://discord.gg/4MtYHHrgA8) if you have any questions | ||
### 5. Message me on [discord](https://discord.gg/4MtYHHrgA8) if you have any questions | ||
|
||
6. Star ⭐️ the project if you like it. | ||
### 6. Star ⭐️ the project if you like it. |
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