Skip to content

Commit

Permalink
Add generation of examples using ChatGPT (#406)
Browse files Browse the repository at this point in the history
Also fix incorrect invalidation of select rows schema when we apply a
filter.
  • Loading branch information
dsmilkov authored Jun 26, 2023
1 parent 47b036a commit b957ffe
Show file tree
Hide file tree
Showing 20 changed files with 356 additions and 144 deletions.
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ DUCKDB_USE_VIEWS=0
#
# Get key from https://www.cohere.ai/api-keys
# COHERE_API_KEY=
#

# GCS_REGION=
# GCS_ACCESS_KEY=
# GCS_SECRET_KEY=

# Get key from https://platform.openai.com/account/api-keys
# OPENAI_API_KEY=
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
},
rules: {
'@typescript-eslint/no-unused-vars': [
'warn',
'error',
{
argsIgnorePattern: '^_' // Ignore unused arguments that start with an underscore
}
Expand Down
8 changes: 8 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,11 @@ follow_imports = skip
[mypy-email_reply_parser.*]
ignore_missing_imports = True
follow_imports = skip

[mypy-openai.*]
ignore_missing_imports = True
follow_imports = skip

[mypy-openai_function_call.*]
ignore_missing_imports = True
follow_imports = skip
191 changes: 125 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b957ffe

Please sign in to comment.