Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 12 months ago
0
Follow
is there a way to attach user_id or
is there a way to attach user_id or
Inactive
0
Follow
V
Vi
12 months ago
Β·
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
Share
Open in Discord
L
Logan M
12 months ago
I'm not 100% sure what this would mean π€
V
Vi
12 months ago
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
L
Logan M
12 months ago
Seems like a custom tool might solve that as well
V
Vi
12 months ago
How ?
V
Vi
12 months ago
In custom tool, all the args are from the gpt right ?
V
Vi
12 months ago
I cannot bypass and dynamically add arg per call basis
L
Logan M
12 months ago
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
Join on Discord