Node.JS Example Insights: Model ID and Name Field Questions
Mikyo Appreciate all your help. I was able to get the Node.JS example you shared up and running. I have some more basic questions now that I am able to see a few traces show up in Phoenix. It seems like all the examples I have worked with are ending up in the default project even though I set the 'model_id' to different values. # Set resource attributes for the name and version for your application resource = Resource( attributes={ "model_id":"langchain-llm-tracing", # Set this to any name you'd like for your app "model_version":"1.0", # Set this to a version number string } ) const provider = new NodeTracerProvider({ resource: new Resource({ [SemanticResourceAttributes.SERVICE_NAME]: "chat-service", }), }); const provider = new NodeTracerProvider({ resource: new Resource({ // Arize specific - The name of a new or preexisting model you // want to export spans to "model_id": "Aporia_Testing", "model_version": "1.0" }), }); I am also curious where the value for the 'name' field comes from, maybe pulling this in from the auto-instrumentation? I see it picking up RetrievalQAChain from the Node.JS example you shared as well as the LangGraph notebook I was testing with.
