Skip to content

Commit

Permalink
Merge pull request #24 from afelix-95/master
Browse files Browse the repository at this point in the history
Update load-and-vectorize-data.js
  • Loading branch information
afelix-95 authored Oct 15, 2024
2 parents c7e1d6d + d9eee13 commit 6614570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04-vector-search/node.js/load-and-vectorize-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function main() {
const completion_deployment = process.env.OpenAICompletionDeploymentName;

// Initialize Azure OpenAI client
const azureOpenAIClient = new AzureOpenAI({endpoint: ai_endpoint, apiKey: ai_key, apiVersion: apiVersion});
const AzureOpenAIClient = new AzureOpenAI({endpoint: ai_endpoint, apiKey: ai_key, apiVersion: apiVersion});

// Replace placeholders in the connection string with actual values
cosmosdb_connection_string = cosmosdb_connection_string.replace("<user>", encodeURIComponent(cosmos_mongo_user));
Expand Down

0 comments on commit 6614570

Please sign in to comment.