Skip to content

Commit

Permalink
Merge pull request #28 from craigloewen-msft/fix_index_build
Browse files Browse the repository at this point in the history
fixed addEmbeddings code
  • Loading branch information
craigloewen-msft authored Mar 20, 2024
2 parents 4a9228c + b5e3938 commit 00dcbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backendsrc/embeddingsHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class embeddingsHandler {
async addEmbedding(inputIssue) {

// Get embeddings from Azure OpenAI Embeddings model
const description = [GetDescription(inputIssue)];
const description = [GetDescription(inputIssue.title, inputIssue.body)];

let embeddingObject = null ;

Expand Down

0 comments on commit 00dcbbf

Please sign in to comment.