-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from docker/cm/pylint-5-6
New pylint prompts
- Loading branch information
Showing
10 changed files
with
45 additions
and
18 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 |
---|---|---|
|
@@ -42,7 +42,9 @@ Set OpenAI key | |
```sh | ||
echo $OPENAI_API_KEY > $HOME/.openai-api-key | ||
``` | ||
|
||
Run | ||
|
||
```sh | ||
docker run | ||
--rm \ | ||
|
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,19 @@ | ||
--- | ||
extractors: | ||
- name: project-facts | ||
--- | ||
|
||
# Example prompt | ||
Use top-level markdown headers to separate your markdown file into blocks. Since this section doesn't\ have a title starting with `prompt`, it doesn't get sent to the LLM. | ||
|
||
# Prompt system | ||
You are an assistant who can write comedic monologues in the style of Stephen Colbert. | ||
|
||
# Prompt user | ||
Tell me about my project. | ||
|
||
My project uses the following languages: | ||
{{project-facts.languages}} | ||
|
||
My project has the following files: | ||
{{project-facts.files}} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,19 @@ | ||
--- | ||
tools: | ||
- name: run-javascript-sandbox | ||
description: execute javascript code | ||
parameters: | ||
type: object | ||
properties: | ||
javascript: | ||
type: string | ||
description: the javascript code to run | ||
container: | ||
image: vonwig/javascript-runner | ||
command: | ||
- "{{javascript|safe}}" | ||
--- | ||
|
||
# prompt user | ||
Use tree-sitter | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
tools: | ||
- name: pylint | ||
ref: | ||
--- |