mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 16:19:49 +00:00
braintrust api key in config
This commit is contained in:
parent
c699e884b5
commit
001badcca1
16 changed files with 36 additions and 15 deletions
|
|
@ -11,3 +11,9 @@ class BraintrustScoringConfig(BaseModel):
|
|||
default=None,
|
||||
description="The OpenAI API Key",
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def sample_run_config(cls, **kwargs) -> Dict[str, Any]:
|
||||
return {
|
||||
"openai_api_key": "${env.OPENAI_API_KEY}",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue