Support OpenAI ChatCompletion/Responses store
property
#8296
Closed
sebastiansandqvist
started this conversation in
Ideas
Replies: 2 comments
-
~Is there a passthrough / override mechanism, so that any new provider parameters can be used without type additions? ~
@sebastiansandqvist see
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @kvnn, that should do the trick for our use case! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
It's not currently possible to enable the
store
property on chat completions and responses using theOpenAIModel
. See types.This feature request is pretty minimal--to add support for this property:
const openaiModel = new ChatOpenAI({ model: '...', + store: true, });
Motivation
Adding
store
will enable observability on the openai platform.Proposal (If applicable)
Probably something like this in this file:
With similar updates around these lines.
Beta Was this translation helpful? Give feedback.
All reactions