jsfe 0.9.69 → 0.9.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2396,7 +2396,7 @@ export async function detectFlowWithParameters(input, engine) {
|
|
|
2396
2396
|
- Consider user intent and the chat context
|
|
2397
2397
|
- Prioritize the most relevant flow considering all available flows
|
|
2398
2398
|
- Flows should only be triggered in response to explicit user intent. A user prompt asking about available credit should trigger balance flows when available, but not payment flows. Complaints about a charge must not trigger a payment flow. Imagine the frustration of a user asking any question other than "Can I make a payment?" and being forwarded to a payment flow instead of receiving a direct answer.
|
|
2399
|
-
-
|
|
2399
|
+
- The "parameters" object is always required in the response. Extract parameter values from the user input when explicitly present. Return an empty object {} when no parameters are found.
|
|
2400
2400
|
`;
|
|
2401
2401
|
const jsonSchema = JSON.stringify({
|
|
2402
2402
|
type: "json_schema",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsfe",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.70",
|
|
4
4
|
"description": "TypeScript workflow engine for conversational/automation apps: multi-flow orchestration, interrupt/resume, stack-based control, robust errors, and flexible tool/REST integration.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ron Pinkas",
|