Open micuentadecasa opened 4 months ago
Hey @micuentadecasa Thanks for trying out Phoenix! Phoenix is an OpenTelemetry backend and so the /v1/traces
endpoint doesn't take arbitrary JSON. It only takes OTLP proto payloads. It might make a bit more sense if you try out one of our tutorials. https://docs.arize.com/phoenix/notebooks
Let us know if you have any further questions!
Hi,
I´m using Docker version of Arize Phoenix, I can see the dashboard at http://localhost:6006/projects/UHJvamVjdDox, so there is no issue running it, but I´m not being able to send any data to it, for example, if I try this:
curl -X POST "http://127.0.0.1:6006/v1/traces" -H "Content-Type: application/json" -d '{"query": "What is Arize Phoenix?", "extracted_answer": "Arize Phoenix is a machine learning observability platform.", "generated_answer": "Arize Phoenix is a platform that helps in observing and managing machine learning models."}'
I receive this:
Unsupported content type: application/json
and I see this in the logs
INFO: 172.17.0.1:55866 - "POST /v1/traces HTTP/1.1" 415 Unsupported Media Type
Regards.