Files
windmill/llm/sample_queries.yaml
HugoCasa 0aa81e3970 feat(frontend): AI edit / fix improvements (#1923)
* feat(frontend): db schema explorer + db aware AI

* fix: explorer button consistency

* fix: explorer btn really consistent

* feat: improve autocompletion regex

* feat(forntend): AI edit / fix improvements

* fix: correct typos
2023-07-26 12:34:04 +02:00

55 lines
1.4 KiB
YAML

- lang: python3
type: gen
description: Connect to postgres and list the rows in the orders table
- lang: python3
type: fix
code: |-
def main(num: int) -> int:
return 3 / num
error: division by zero
- lang: python3
type: edit
code: |-
def main(num: int) -> int:
return num / 16
description: Comment my code
- lang: go
type: gen
description: Divide a number by 16
- lang: deno
type: gen
description: Convert a number to a word
- lang: deno
type: gen
description: Connect to postgres and list the rows in the orders table
- lang: bun
type: gen
description: Convert a number to a word
- lang: postgresql
type: gen
description: Insert an a new user
- lang: mysql
type: gen
description: Insert an email and a name in the users table
- lang: bash
type: gen
description: Divide a number by 16
- lang: bash
type: gen
description: Write a docker image for a python app
- lang: nativets
type: gen
description: Query the github api and return the number of stars of a repo
- lang: frontend
type: gen
description: set the value of the input with id 'my_field' to the context variable email
- lang: postgresql
type: gen
description: compute the average number of completed jobs per month for the given username
- lang: postgresql
type: fix
code: |-
SELECT is_secret FROM account
error: |-
ExecutionError: db error: ERROR: column "is_secret" does not exist