We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 390856e + fca4306 commit 4ed80bfCopy full SHA for 4ed80bf
1 file changed
15-rag-and-vector-databases/README.md
@@ -206,7 +206,7 @@ def chatbot(user_input):
206
# create a message object
207
messages=[
208
{"role": "system", "content": "You are an AI assistant that helps with AI questions."},
209
- {"role": "user", "content": history[-1]}
+ {"role": "user", "content": "\n\n".join(history) }
210
]
211
212
# use chat completion to generate a response
0 commit comments