Spaces:
Runtime error
Runtime error
File size: 264 Bytes
23d152f |
1 2 3 4 5 6 7 8 9 |
from chatBot.common.chatgpt import gptModel
from chatBot.common.llama import llamaModel
def getAnswerLlama(question):
return llamaModel(question)
def getAnswerGpt(question):
return gptModel({'question' : question}, return_only_outputs = True)['answer'] |