Skip to content

Is there a way to specify headers for OpenAPI Plugins without explicitly doing so in the query? #5662

Answered by moonbox3
ColtonBehannon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ColtonBehannon, per our other conversation, I am working on the OpenAI/OpenAPI plugins. There's some existing code that I am seeing how it fits in. From what I see right now, the kernel function needs to be invoked with a headers dict/json string as kernel arguments. Is this what you're referring to as "If I were to do this then it removes some of that abstraction away and requires the user to know what is going on behind the scenes."? I see that the way Python does it is different than .NET, where Python explictly wants the path_params, headers, query_params, and request_body passed via the kernel args. On the other hand, dotnet is taking in the kernel args (whatever they may be) and…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ColtonBehannon
Comment options

@moonbox3
Comment options

@ColtonBehannon
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants