Hello.
Using Realtime API. During a session, I would like to inject information context into the assistant, for that, I use the:
const event = {
type: "conversation.item.create",
item: {
type: "message",
role: "assistant",
status:"completed",
content: [
{
type: "text",
text: message,
},
],
},
};
With the assistant text I want to add into the conversation as if this info was previously said by Assistant, not User!
So for example, If I add the text “The temperature is 10 degrees”
And then Add it to the conversation, and then the Users questions “What is the temperature” the AI is totally uaware of the chat history.
Or if I add as an assistant conversation.create the “I’m David”
And then the user questions “What is your Name” the AI say the name is Chat GPT…
So it totally ignores chat history, and as such I cannot provide contexts to the Assistant…
Is this a bug?