Helicone Community Page

Home
Members
Muhtasham
M
Muhtasham
Offline, last seen 4 months ago
Joined August 29, 2024
Hello,

New to helicone and using proxy integration via OpenAI’s JavaScript SDK but seeing weird metrics

Plain Text
import OpenAI from "openai";

const openai = new OpenAI({
  apiKey: request.env.OPENAI_API_KEY,
  baseURL: "https://oai.helicone.ai/v1",
  defaultHeaders: {
    "Helicone-Auth": `Bearer ${request.env.HELICONE_API_KEY}`,
  },
});
4 comments
s
M
D