Skip to content

Commit ea544e9

Browse files
committed
minor cleanup
1 parent 9a2987a commit ea544e9

File tree

1 file changed

+2
-2
lines changed
  • observability-tutorial-typescript

1 file changed

+2
-2
lines changed

observability-tutorial-typescript/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { HoneyHiveTracer } from 'honeyhive';
66
dotenv.config();
77

88
// Initialize clients
9-
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
9+
const openai = new OpenAI();
1010
const pc = new Pinecone();
11-
const index = pc.index("chunk-size-512");
11+
const index = pc.index("your-index-name");
1212

1313
async function embedQuery(query: string): Promise<number[]> {
1414
const res = await openai.embeddings.create({

0 commit comments

Comments
 (0)