To log custom data traces to the Phoenix Cloud app, use the px.Client().log_traces(trace_dataset, project_name="your-project") method, where trace_dataset is your trace data and project_name specifies the destination project. Make sure to set the PHOENIX_COLLECTOR_ENDPOINT and PHOENIX_CLIENT_HEADERS (with your API key) environment variables to point to the Phoenix Cloud endpoint before logging traces. See this example and docs for details.Would you like more detail or a code example?Sources:
- Slack: log_traces method and project_name
- Evaluating Phoenix Traces (setup and logging)
馃挕聽Hint: Mention RunLLM in the thread for followups.