You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#825 is going to introduce LLM events and (currently) requires to put prompts and completions as json string in OpenAI format. Some LLM vendors might not use json and instrumentation would be forced to use specific structure.
We should decide if:
we define a common format and all LLM vendor instrumentations are forced to use it.
we want one event with OpenAI JSON messages format (or another common format) and other vendors are forced to use it.
vendor-specific events. E.g. gen_ai.{vendor}.prompt and then vendors could document their own structure or document that they emit OpenAI-formatted events
we make format dynamic with additional attributes representing mime type.
Area(s)
llm
Is your change request related to a problem? Please describe.
See #825 (comment)
#825 is going to introduce LLM events and (currently) requires to put prompts and completions as json string in OpenAI format. Some LLM vendors might not use json and instrumentation would be forced to use specific structure.
We should decide if:
gen_ai.{vendor}.prompt
and then vendors could document their own structure or document that they emit OpenAI-formatted eventsThis is closely coupled with #829
Describe the solution you'd like
TBD
The text was updated successfully, but these errors were encountered: