@waniwani/sdk 0.5.3-beta.4 → 0.6.1-beta.2
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/chat/index.d.ts +4 -4
- package/dist/chat/index.js +2 -2
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/next-js/index.js +5 -5
- package/dist/chat/next-js/index.js.map +1 -1
- package/dist/evals/index.d.ts +30 -8
- package/dist/evals/index.js +6 -6
- package/dist/evals/index.js.map +1 -1
- package/package.json +1 -1
package/dist/chat/index.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ type ChatWidgetProps = ChatBarProps;
|
|
|
218
218
|
declare const ChatBar: react.ForwardRefExoticComponent<ChatBarProps & react.RefAttributes<ChatHandle>>;
|
|
219
219
|
|
|
220
220
|
type EvalPanelProps = {
|
|
221
|
-
/** API endpoint to fetch
|
|
221
|
+
/** API endpoint to fetch scenarios from
|
|
222
222
|
*
|
|
223
223
|
* @default "/api/waniwani"
|
|
224
224
|
*/
|
|
@@ -227,13 +227,13 @@ type EvalPanelProps = {
|
|
|
227
227
|
chatRef: RefObject<ChatHandle | null>;
|
|
228
228
|
};
|
|
229
229
|
/**
|
|
230
|
-
* Dev-only evaluation panel for replaying recorded
|
|
230
|
+
* Dev-only evaluation panel for replaying recorded eval scenarios and asserting tool usage.
|
|
231
231
|
*
|
|
232
232
|
* This component is automatically tree-shaken from production builds —
|
|
233
233
|
* it returns `null` when `process.env.NODE_ENV === "production"`.
|
|
234
234
|
*
|
|
235
|
-
* To populate
|
|
236
|
-
*
|
|
235
|
+
* To populate scenarios, set `WANIWANI_EVAL=1` in your `.env` and add
|
|
236
|
+
* scenario files to `evals/scenarios/`.
|
|
237
237
|
*/
|
|
238
238
|
declare function EvalPanel({ api, chatRef }: EvalPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
239
239
|
|