summaryrefslogtreecommitdiff
path: root/roles-example.ini
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2024-03-09 19:37:55 +0100
committerMartin Bielik <mx.bielik@gmail.com>2024-03-09 19:37:55 +0100
commitf4130feb986760a8d956983cb5cfe8d7106e7d4a (patch)
treef5ea9e125cd52fbb2bc8cdd59abfe8358104fef8 /roles-example.ini
parent9db190c977d1f76e2f574882e4edde062eecbb0d (diff)
downloadvim-ai-f4130feb986760a8d956983cb5cfe8d7106e7d4a.tar.gz
roles example file
Diffstat (limited to 'roles-example.ini')
-rw-r--r--roles-example.ini22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles-example.ini b/roles-example.ini
new file mode 100644
index 0000000..90d32bc
--- /dev/null
+++ b/roles-example.ini
@@ -0,0 +1,22 @@
+# .ini file structure:
+# - https://docs.python.org/3/library/configparser.html#supported-ini-file-structure
+
+[grammar]
+prompt = fix spelling and grammar
+
+[refactor]
+prompt =
+ You are a Clean Code expert, I have the following code,
+ please refactor it in a more clean and concise way so that my colleagues
+ can maintain the code more easily. Also, explain why you want to refactor
+ the code so that I can add the explanation to the Pull Request.
+
+# common options for all engines
+[refactor.options]
+temperature = 0.4
+
+# engine specific options:
+[refactor.options-chat]
+model = gpt-4
+
+[refactor.options-complete]