This commit is contained in:
ivan deng
2023-03-17 19:38:20 +08:00
parent a061c7a840
commit 294570b452
2 changed files with 14 additions and 4 deletions

View File

@@ -70,6 +70,7 @@ class Channel(models.Model):
res = '\n'.join([x['text'] for x in res['choices']])
return res
elif provider == 'azure':
_logger.warning('=====================azure input data: %s' % data)
res = gpt_id.get_openai(data)
return res
# 获取模型信息