aws-samples / private-llm-qa-bot

257 stars 62 forks source link

使用RAG做知识问答时,lambda报错。 #204

Closed heqiqi closed 11 months ago

heqiqi commented 11 months ago

Ask_Assistant lambda 的cloudwatch log: image

chatbot界面错误: image

heqiqi commented 11 months ago

我用的 llm model是 claud, embedding model是: cohere.embed-multilingual-v3

heqiqi commented 11 months ago

main.py里判断是否default `

如果指定了prompt 模板

if template_id and template_id != 'default':
    prompt_template = get_template(template_id)
    prompt_template = 'default' if prompt_template is None else prompt_template['template']['S']

` frontend前端,使用value是:prompt_template_id : 1698905450793-bcfab8

root cause

ybalbert001 commented 11 months ago

fixed by v1.1.5