Notebooks
A
Arize AI
Openai Prompt Template Tracing

Openai Prompt Template Tracing

arize-tutorialsopenaitracingLLMPython

arize logo
Docs | GitHub | Community

Using Arize to Instrument Your Prompt Template

This guide shows you how to add prompt template details to your traces with Arize.

  • Create an OpenAI weather chatbot

  • Trace the OpenAI call with auto-instrumentation

  • Manually add the prompt template details so it shows up in Arize

Installations & Imports

[ ]
[ ]

Set Up API Keys and Register OTEL

Screenshot 2024-08-26 at 2.37.41 PM.png

[ ]
[ ]

Instrumentation

[ ]

Call Open AI Chat Completion & Instrument Template Vars

[ ]

Screenshot 2024-08-26 at 2.43.48 PM.png

Screenshot 2024-08-26 at 2.44.07 PM.png