Open chrishart0 opened 3 months ago
@chrishart0 sorry for the late response. there is a client inside of the experiment running code that should respect the PHOENIX_COLLECTOR_ENDPOINT. See https://github.com/Arize-ai/phoenix/blob/1459dbccdc19d1ff54c04f520d8d371d2a5fe874/src/phoenix/experiments/functions.py#L82
the env var should be PHOENIX_COLLECTOR_ENDPOINT
- can you try this one more time for us?
Is your feature request related to a problem? Please describe.
phoenix.experiments.run_experiment()
appears to default to localhost:6006 for reaching out to Phoenix. I am running phoenix as a container and running the experiment from another container, I would like to reach out to phoenix at a non-default endpoint such ashttp://phoenix:6006
.Describe the solution you'd like I would like a new parameter added to phoenix.experiments.run_experiment() which allows the specifying of an endpoint the same way you can for px.Client. Possibly a client could be passed to run_experiments.
Describe alternatives you've considered I tried setting the env vars
ENV_PHOENIX_COLLECTOR_ENDPOINT
andENV_PHOENIX_HOST
but neither seemed to effect effect runningrun_experiment()
Additional context
In my code, I am successfully uploading a dataframe using a
px.Client(endpoint=...)
I just need functionality to specify my non-default url to resolve this error below.Here is my stack trace when I try to run an experiment.