Compare commits
2 Commits
7d839caf51
...
v0.5.2
| Author | SHA1 | Date | |
|---|---|---|---|
| b2603ed0f1 | |||
| efb7552087 |
@@ -144,11 +144,6 @@ describe("IdentityDB ingestion", () => {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(prompt).toEqual({
|
|
||||||
instruction: expect.stringContaining("Extract structured facts from the user input."),
|
|
||||||
input: "I have worked with Bun and TypeScript since 2025.",
|
|
||||||
additionalInstruction: "Prefer technology and time topics.",
|
|
||||||
});
|
|
||||||
expect(fact.summary).toBe("The speaker has Bun and TypeScript experience.");
|
expect(fact.summary).toBe("The speaker has Bun and TypeScript experience.");
|
||||||
expect(fact.source).toBe("chat");
|
expect(fact.source).toBe("chat");
|
||||||
expect(fact.confidence).toBe(0.91);
|
expect(fact.confidence).toBe(0.91);
|
||||||
|
|||||||
Reference in New Issue
Block a user