https://www.boundaryml.com logo
🟑 How to configure .env variables for tracing?
# questions
m
Could someone direct me on how to configure the env variables using .env to use tracing? I added them in my project but I don't see anyhing on my dashboard.
Does this page help?
m
It helps a bit, I guess. So if I need to write the variables from Boundary Studio in the client, how should I define them? I used the same names from the given API keys on Boundary Studio, but it didn't work. client CustomGPT4o { provider openai options { model "gpt-4o" api_key env.OPENAI_API_KEY boundary_project_id env.BOUNDARY_PROJECT_ID BOUNDARY_API_KEY env.BOUNDARY_SECRET temperature 0.0 allowed_roles [ "system", "user", "assistant" ] } }
v
Oh you don’t add that to the client
Just baml automatically picks it up
m
I added it to my .env file, but I don't see anything in the Boundary Studio. How much time does it take to show the info?
I also export it directly to my .venv, but I don't see anything. Is there a way to test the connection?
v
Do you mean from the playground?
(Sorry cooking breakfast, I’ll be on around 1 hour from now)
a
Which url are you using for the dashboard?
app.boundaryml.com?
m
No problem, actually thanks for your quick replies...
I am testing in the playground, but I added the variables to my .env and also exported them
3 Views