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
Is your feature request related to a problem? Please describe.
As LLM use grows, so does the need for tracing, debugging, and testing. The feature request is to attach custom metadata to API requests for logging, tracing, or tool integration. The current go-openai library lacks a standardized way to include this metadata in request structs.
Describe the solution you'd like
Add a Metadata field of type map[string]interface{} to all structs representing request bodies for OpenAI APIs. For example:
Apply this change consistently across all relevant request structs.
Additional context
This feature would align go-openai with other OpenAI libraries and tools that support metadata, such as LiteLLM proxy, enabling easier integration with logging and tracing systems.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
As LLM use grows, so does the need for tracing, debugging, and testing. The feature request is to attach custom metadata to API requests for logging, tracing, or tool integration. The current go-openai library lacks a standardized way to include this metadata in request structs.
Describe the solution you'd like
Add a Metadata field of type map[string]interface{} to all structs representing request bodies for OpenAI APIs. For example:
Apply this change consistently across all relevant request structs.
Additional context
This feature would align go-openai with other OpenAI libraries and tools that support metadata, such as LiteLLM proxy, enabling easier integration with logging and tracing systems.
The text was updated successfully, but these errors were encountered: