#OpenAI debug / logging

1 messages · Page 1 of 1 (latest)

idle fossil
#

I'm struggling to reliably get OpenAI conversation to use an area in spite of putting things like this in the instructions

"Use the area as specified by the user, or if the user does not explicitly state an area, then use the area the request came from. If an area cannot be determined, use the default area Music"

I'd like to see whether area / area_id etc are returned by openai to be used by my scripts. Is there a way to debug this?

hexed wing
#

They usually are, but that requires your voice satellite to be assigned to an area

#

Also are you using gpt-4o-mini or something like that, or an earlier model?

mystic cargo
idle fossil
#

Yes, I've assigned an area to the satellite and I've tried both 4o-mini (default choice) and 4o. Is there a way to tell?

hexed wing
#

hmm, I haven't really run into it getting confused about area much if at all using 4o-mini 😮

#

you can try interrogating the LLM

#

ask it what tool it used, what arguments it gave it, etc

#

you can even ask it if it knows what area you are presently in

idle fossil
#

Ah ok, I'll try that. Thanks nick.

idle fossil
#

I think I've got it working - thanks to your suggestion of asking what entities were being sent to the tool. It turned out that area was being sent as a list, although I was expecting a single entity. It seems to be working now so I'll keep testing. Thanks again Nick.