AWS Certification Exam AI Practitioner (Practice Questions) set5

問題 2 / 65

I want to persistently store users' preferences and history across multiple sessions and use them in the next conversation. Which method is most appropriate?

Fully fine-tune all parameters of the model for each user.
Design prompts from scratch for each conversation.
Store embeddings of the conversation history in an external vector database, and retrieve them when needed to append to the prompt.
Lower the temperature parameter of the generative model to stabilize the output.
Achieve long-term memory using only few-shot prompting.

当サイトでは、ユーザー体験の向上を目的としてCookieを使用しています。サイトの利用を継続することで、Cookieの使用に同意したものとみなされます。