From 4a54f34bb63b5ab5eefa05974fea7e7b093780d8 Mon Sep 17 00:00:00 2001 From: Quskia Date: Sat, 21 Oct 2023 22:24:49 +0100 Subject: [PATCH] [v3.1.0] --- discordChatGPTVoiceBot.js | 1 + infra_app/ansible/main.yaml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/discordChatGPTVoiceBot.js b/discordChatGPTVoiceBot.js index 0b44962..7428c1f 100644 --- a/discordChatGPTVoiceBot.js +++ b/discordChatGPTVoiceBot.js @@ -88,6 +88,7 @@ const volume=0.5; const parser = new StringOutputParser(); const memory = new BufferMemory({ memoryKey: "chat_history",ai_prefix: "Vanessa:", human_prefix: "Nome do membro:"}); + const model = new ChatOpenAI({ model: gptModel, max_tokens: MaxTokens, temperature: Temperature, diff --git a/infra_app/ansible/main.yaml b/infra_app/ansible/main.yaml index f8b2342..7080848 100644 --- a/infra_app/ansible/main.yaml +++ b/infra_app/ansible/main.yaml @@ -9,9 +9,9 @@ - name: print hostname debug: msg: "{{hostname.stdout}}" - - name: apt update - apt: - update_cache: yes + #- name: apt update + # apt: + # update_cache: yes - name: install docker apt: name: docker.io