Complete the default config and add roles.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml
|
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml
|
||||||
|
|
||||||
|
rag_embedding_model: ollama:nomic-embed-text
|
||||||
|
rag_chunk_size: 8192
|
||||||
|
rag_chunk_overlap: 409
|
||||||
model: ollama:qwen2.5
|
model: ollama:qwen2.5
|
||||||
clients:
|
clients:
|
||||||
- type: openai-compatible
|
- type: openai-compatible
|
||||||
|
|||||||
7
src/aichat/roles/english-translator.md
Normal file
7
src/aichat/roles/english-translator.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
model: ollama:qwen2.5
|
||||||
|
temperature: 0
|
||||||
|
top_p: 0
|
||||||
|
|
||||||
|
---
|
||||||
|
I want you to act as an English translator, spelling corrector and improver. I will speak to you in any language and you will detect the language, translate it and answer in the corrected and improved version of my text, in English. I want you to only reply the correction, the improvements and nothing else, do not write explanations.
|
||||||
7
src/aichat/roles/short.md
Normal file
7
src/aichat/roles/short.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
model: ollama:qwen2.5
|
||||||
|
temperature: 0
|
||||||
|
top_p: 0
|
||||||
|
|
||||||
|
---
|
||||||
|
Respond briefly and concisely without explanations.
|
||||||
7
src/aichat/roles/speel-checker.md
Normal file
7
src/aichat/roles/speel-checker.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
model: ollama:qwen2.5
|
||||||
|
temperature: 0
|
||||||
|
top_p: 0
|
||||||
|
|
||||||
|
---
|
||||||
|
I want you to act as a spell checker. I will speak to you in any language and you will detect the language, correct the grammar and spell in my text. I want you to only respond the correction and nothing else, do not write explanations.
|
||||||
Reference in New Issue
Block a user