diff --git a/roles/home/aichat/config.yaml b/roles/home/aichat/config.yaml index de8acd9..368fd3a 100644 --- a/roles/home/aichat/config.yaml +++ b/roles/home/aichat/config.yaml @@ -10,3 +10,11 @@ clients: - name: pino-coder max_input_tokens: 16000 max_output_tokens: 16000 + + - name: pino-embed + type: embedding + default_chunk_size: 512 + max_batch_size: 100 + +rag_embedding_model: ollama:pino-embed +rag_top_k: 5 \ No newline at end of file diff --git a/roles/home/zsh.nix b/roles/home/zsh.nix index 842b03c..f930589 100644 --- a/roles/home/zsh.nix +++ b/roles/home/zsh.nix @@ -26,6 +26,8 @@ in source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh ${if pkgs.stdenv.isDarwin then "export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin:$PATH" else ""} + recap() { aichat -f "$@" ;} + source ${commitFunctions}/bin/commits.sh ''; };