Skip to main content

Setup

  1. Install Langtrace’s SDK and initialize the SDK in your code.
Note: You’ll need API keys from Langtrace and Pinecone. Sign up for Langtrace and/or Pinecone if you haven’t done so already.
Python
Typescript
  1. Setup environment variables:
Shell

Usage

Generate a simple output with your deployment’s model:
You can now view your traces on the Langtrace dashboard: traces Want to see more supported methods? Checkout the sample code in the Langtrace Pinecone Python Example repository.