fix: beliefs now adhere to expected format

[
    -before user_said belief was a list of lists of strings, now it's a list of strings
]

[ref]: N25B-206
This commit is contained in:
Pim Hutting
2025-10-29 11:20:20 +01:00
parent f8dee6d878
commit baeef6142d
3 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ class BeliefTextAgent(Agent):
# Send multiple beliefs in one JSON payload
payload = {
"type": "belief_extraction_text",
"beliefs": {"user_said": [["hello test"],["Can you help me?"],["stop talking to me"],["No"],["Pepper do a dance"]]}
"beliefs": {"user_said": ["hello test","Can you help me?","stop talking to me","No","Pepper do a dance"]}
}
msg = Message(to=to_jid)