diff options
-rw-r--r-- | src/aichat/config.yaml | 3 | ||||
-rw-r--r-- | src/aichat/roles/english-translator.md | 7 | ||||
-rw-r--r-- | src/aichat/roles/short.md | 7 | ||||
-rw-r--r-- | src/aichat/roles/speel-checker.md | 7 |
4 files changed, 24 insertions, 0 deletions
diff --git a/src/aichat/config.yaml b/src/aichat/config.yaml index 51c4e2b..b2809b1 100644 --- a/src/aichat/config.yaml +++ b/src/aichat/config.yaml @@ -1,5 +1,8 @@ # 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 clients: - type: openai-compatible diff --git a/src/aichat/roles/english-translator.md b/src/aichat/roles/english-translator.md new file mode 100644 index 0000000..8f8c4bb --- /dev/null +++ b/src/aichat/roles/english-translator.md @@ -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. diff --git a/src/aichat/roles/short.md b/src/aichat/roles/short.md new file mode 100644 index 0000000..27efce7 --- /dev/null +++ b/src/aichat/roles/short.md @@ -0,0 +1,7 @@ +--- +model: ollama:qwen2.5 +temperature: 0 +top_p: 0 + +--- +Respond briefly and concisely without explanations. diff --git a/src/aichat/roles/speel-checker.md b/src/aichat/roles/speel-checker.md new file mode 100644 index 0000000..f4d6787 --- /dev/null +++ b/src/aichat/roles/speel-checker.md @@ -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. |