Find answers from the community

Updated 12 months ago

is there a way to attach user_id or

is there a way to attach user_id or thread_id or even api key to the tool call made by OpenaiAgent ?
L
V
7 comments
I'm not 100% sure what this would mean πŸ€”
like i have a tool named lookup_user_data, and in the tool fn I would be needing user_id as input param, but I don't want to disclose user_id to open_ai agent in the system prompt
Seems like a custom tool might solve that as well
In custom tool, all the args are from the gpt right ?
I cannot bypass and dynamically add arg per call basis
Sure you can, if you pull from some global, or setup a partial maybe even
Add a reply
Sign up and join the conversation on Discord