});
// Instantiate socket session with crimata-platorm.
- if (!socket) initSession();
- socket = true;
+ // if (!socket) initSession();
+ // socket = true;
// Begin audio stream.
- initRecorder();
+ // initRecorder();
}
emitter.on("animateSend", async (message) => {
try {
- renderArr.push(message)
+ renderArr.push(message)
// await invoke(message);
- //renderArr.push(data.value);
+ // renderArr.push(data.value);
} catch (e) {
console.log("No response. Do not render.");
}
export const Messages: Message[] = [
{
- content: "Welcome",
- context: "ai",
+ content: "Good morning Dave",
+ context: "launch",
subContext: "",
modifier: "ai",
id: "2",
},
{
content:
- "add friend",
- context: "launch",
+ "add contact",
+ context: "addcontact",
subContext: "",
modifier: "sf",
id: "1",
time: ""
},
{
- content: "Did you mean to addcontact?",
+ content: "I'm looking for name, crimata_idto addcontact. Feel free toenter only a subset of thisinformation, but then let meknow when you are done",
context: "addcontact",
subContext: "",
modifier: "ai",
time: ""
},
{
- content: "yes",
- context: "fulfill",
+ content: "andrew gundersen",
+ context: "addcontact",
subContext: "",
modifier: "sf",
id: "6",
},
{
- content: "Hey Anna, did you get the paper done?",
- context: "Mesage from Tommy McConville",
- subContext: "New Conversation",
- modifier: "ai",
+ content: "gundersena@xavier.edu",
+ context: "addcontact",
+ subContext: "",
+ modifier: "sf",
id: "3",
time: ""
},
{
- content: "Hey do you know Enrique Hernandez?",
- context: "Message from Crimata",
+ content: "I already have a contact forandrew gundersen. Are you sureyou want this?",
+ context: "addcontact",
subContext: "",
modifier: "ai",
id: "7",