Skip to content

Commit

Permalink
Update test embedding string in Git class debug section
Browse files Browse the repository at this point in the history
  • Loading branch information
anpetroc committed Oct 16, 2024
1 parent 8c7721b commit 70f75f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AssistantAI/KnowledgeCollectors/Git.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public override void DoWork()
return;

#if DEBUG // Test embedding
var embedding = _embeddingClient.GenerateEmbedding("Governance Section for copilot");
var embedding = _embeddingClient.GenerateEmbedding("The option to disable 'Tracked to Dynamics 365' for emails is not listed under the settings");
var results = repoInfo.VectorDB.FindWithDistance(embedding.Value.ToFloats(), maxResultCount: 10);
#endif
}
Expand Down

0 comments on commit 70f75f9

Please sign in to comment.