added temperature and token count to ai config

This commit is contained in:
wea_ondara
2024-05-29 18:36:17 +02:00
parent 3a78660883
commit bc0712ba11
14 changed files with 197 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ class AiBase:
if self.model is None:
del self
def generate(self, messages):
def generate(self, messages, token_count=100, temperature=0.1):
return []
def record_conversation(self, messages, response):