Hi guys I'm currently using the `livekit-examples/...
# sdk-web
b
Hi guys I'm currently using the
livekit-examples/agent-starter-react
template to build with a Node.js Agent (powered by Azure OpenAI
gpt-realtime
). I'm trying to build a feature that a user can type in some information, and these information will be injected into the system prompt of the agent, however so far I still cannot make it work. Is there anyone have built this before based on the
agent-starter-react
teamplate?
d
I successfully tested using the agent-starter-react as my frontend and agent-starter-node as backend. The only difference is I used the realtime model directly from OpenAI as opposed to AzureAI version, which shouldn't matter. • Only changed model parameters on backend and set envs, everything else boilerplate, so should work. agents.ts
Copy code
llm: new openai.realtime.RealtimeModel({ voice: 'marin' }),
a
okay to understand you are trying to send info to the backend right and then the backend will take the info and do somthingwith it and respond ? is that correct?
b
Yes, I can successfully built it already
a
ohokay thats great i just figured it out yesterday
b
Previously I kept getting errors the data is not sent as participant's metadata and its so annoyingg
a
just curious what did you do or how I used RPC to get mine working from react to backend