-
Couldn't load subscription status.
- Fork 10
Open
Description
In "Exercise 08 - Understand data masking, anonymization and pseudonymization" in the final implementation of the ai-helper the inputParams in the chatCompletion call of the orchestrationClient are missing:
const response = await orchestrationClient.chatCompletion();
which leads to the error
[odata] - GET /odata/v4/job-posting/createJobPosting
[error] - 500 - Error: Required input parameters not supplied
As a side note, the results of the SELECT of DocumentChunks can be limited directly in the query:
let similarity_chunks = await SELECT.from(DocumentChunks)
.orderBy`cosine_similarity(embedding, to_real_vector(${JSON.stringify(embedding)})) DESC`
.limit(3);
Then the .splice(0, 3) can be left out in the line following
Metadata
Metadata
Assignees
Labels
No labels