promptfoo 0.120.25 → 0.120.26
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/README.md +35 -22
- package/dist/src/{ListApp-CYTAaS6A.js → ListApp-D3DG0F8h.js} +1 -1
- package/dist/src/{accounts-CwqY22lU.cjs → accounts-BzEY8H3v.cjs} +4 -4
- package/dist/src/{accounts-Bzx8GnL6.js → accounts-DHHiXsy6.js} +5 -5
- package/dist/src/{accounts-BSwMxhY3.js → accounts-R3gfCR_g.js} +4 -4
- package/dist/src/{agentic-utils-5K7LzooV.js → agentic-utils-D6_gzOUF.js} +2 -2
- package/dist/src/{agents-B8RWrA68.cjs → agents-C7BiinFI.cjs} +6 -6
- package/dist/src/{agents-zHyWnnQ2.js → agents-Cao4i7AX.js} +7 -7
- package/dist/src/{agents-KZxXwlyn.cjs → agents-CwM7re15.cjs} +2 -2
- package/dist/src/{agents-DleC7rb4.js → agents-DETIQHqF.js} +6 -6
- package/dist/src/{agents-CkA9l77-.js → agents-DYIT-hQy.js} +5 -5
- package/dist/src/{agents-B20gl7hH.js → agents-GiUianme.js} +2 -2
- package/dist/src/{aimlapi-DgbFGPTX.js → aimlapi-CMJpKK-B.js} +9 -9
- package/dist/src/{aimlapi-DILJovhN.js → aimlapi-DMF6v_vb.js} +14 -14
- package/dist/src/{aimlapi-DIdWBHtH.cjs → aimlapi-DoGLcQW_.cjs} +9 -9
- package/dist/src/app/assets/index-BOgkICuY.css +1 -0
- package/dist/src/app/assets/index-CSgqn_Vd.js +428 -0
- package/dist/src/app/assets/{vendor-charts-DnwydkkY.js → vendor-charts-CYyo8R8v.js} +1 -1
- package/dist/src/app/assets/{vendor-markdown-DjKAU15k.js → vendor-markdown-DSmzq4Jh.js} +1 -1
- package/dist/src/app/assets/vendor-react-AtKqiNEf.js +4 -0
- package/dist/src/app/assets/{vendor-syntax-Dc86c4Bu.js → vendor-syntax-D06x6TQF.js} +1 -1
- package/dist/src/app/index.html +6 -6
- package/dist/src/app/tsconfig.app.tsbuildinfo +1 -1
- package/dist/src/{audio-BoR9KZV8.cjs → audio-BWjyvHn9.cjs} +3 -3
- package/dist/src/{audio-nUSOpXY7.js → audio-BrJBFN2b.js} +3 -3
- package/dist/src/{audio-BDrAkpVc.js → audio-DUH4q0Xq.js} +4 -4
- package/dist/src/{base-DumUXbOH.js → base-BaXmtXYp.js} +2 -2
- package/dist/src/{base-CwCV0t8r.js → base-Dtp8b4_N.js} +2 -2
- package/dist/src/{base-D8VQYhNQ.cjs → base-f71xxWai.cjs} +2 -2
- package/dist/src/{blobs-_kNRY6vU.cjs → blobs-673H0jCl.cjs} +2 -2
- package/dist/src/{blobs-Dnt2rxpc.js → blobs-C9J2mVgo.js} +2 -2
- package/dist/src/{blobs-DlB5fwyF.js → blobs-kt8v3UyH.js} +2 -2
- package/dist/src/{cache-S9MAoF9H.cjs → cache-7xULbvt3.cjs} +34 -7
- package/dist/src/{cache-C4A4H4Xb.js → cache-BLLayYEN.js} +23 -8
- package/dist/src/{cache-B2oIvf92.js → cache-BUPcq0Ad.js} +2 -2
- package/dist/src/cache-CVfRb-HD.cjs +6 -0
- package/dist/src/{cache-DofebEnH.js → cache-O4EuX2JV.js} +3 -3
- package/dist/src/{cache-Bg1Wpvzq.js → cache-mIszOnuz.js} +4 -21
- package/dist/src/{chat-DTCPbuld.cjs → chat-C4zqjObh.cjs} +6 -6
- package/dist/src/{chat-noXtEAh5.js → chat-C8Ei4f87.js} +6 -6
- package/dist/src/{chat-BiImdLJf.js → chat-CgyGj2hC.js} +8 -8
- package/dist/src/{chat-DQ6Z5Cbn.js → chat-Cpz3O-Xl.js} +13 -13
- package/dist/src/{chat-D_cro0wd.js → chat-DIywASPG.js} +10 -10
- package/dist/src/{chat-BR2x1dG_.cjs → chat-Fl6TZJRS.cjs} +8 -8
- package/dist/src/{chatkit-TnC1YoVi.js → chatkit-DEls11hE.js} +3 -3
- package/dist/src/{claude-agent-sdk-CBpAZV5h.js → claude-agent-sdk-6-xTaLwM.js} +45 -16
- package/dist/src/{claude-agent-sdk-uHLgAUZj.cjs → claude-agent-sdk-BzxF6NIJ.cjs} +45 -16
- package/dist/src/{claude-agent-sdk-qxE5mGVi.js → claude-agent-sdk-CmkTnKGH.js} +48 -19
- package/dist/src/{claude-agent-sdk-DyPvrj-1.js → claude-agent-sdk-rXCBLK_o.js} +38 -9
- package/dist/src/{cloud-lRosK6Nk.js → cloud-BMbRVJFw.js} +2 -2
- package/dist/src/{cloud-DHWE-9nj.js → cloud-CZ4hytdm.js} +1 -1
- package/dist/src/{cloudflare-ai-D0OtFY6g.cjs → cloudflare-ai-BAQ0u_dg.cjs} +9 -9
- package/dist/src/{cloudflare-ai-BprwSD6d.js → cloudflare-ai-CUg4BTcj.js} +9 -9
- package/dist/src/{cloudflare-ai-CB7OWRAP.js → cloudflare-ai-CobxMTR4.js} +14 -14
- package/dist/src/{cloudflare-gateway-C29gWj5O.cjs → cloudflare-gateway-C0sgfr_z.cjs} +10 -10
- package/dist/src/{cloudflare-gateway-BaVwoBjE.js → cloudflare-gateway-D2_yi-Fh.js} +15 -15
- package/dist/src/{cloudflare-gateway-BjoxwqUw.js → cloudflare-gateway-_itGuXry.js} +10 -10
- package/dist/src/{codex-sdk-DNkCbb7c.js → codex-sdk-dSnGdgIp.js} +3 -3
- package/dist/src/{cometapi-BGxGZ7VA.js → cometapi-B01btbfb.js} +15 -15
- package/dist/src/{cometapi-xiTQZp8R.js → cometapi-ChAaRjg5.js} +10 -10
- package/dist/src/{cometapi-DalITP94.cjs → cometapi-JbvOJSCO.cjs} +10 -10
- package/dist/src/{completion-BTbouQDz.js → completion-BBJ6zmG3.js} +5 -5
- package/dist/src/{completion-HYrX5gEL.js → completion-D9_MDlnd.js} +4 -4
- package/dist/src/{completion-DV0Ys99K.cjs → completion-DDyL3Cb2.cjs} +4 -4
- package/dist/src/{docker-Dx_FN1ag.js → docker-BuButc4D.js} +14 -14
- package/dist/src/{docker-zUAnbYTM.cjs → docker-Ckw-j7Rr.cjs} +9 -9
- package/dist/src/{docker-BAYnlbAW.js → docker-JAAubMw3.js} +9 -9
- package/dist/src/errors-DnGCbnx8.js +36 -0
- package/dist/src/{esm-79BpbQzg.js → esm-CYhseqj4.js} +1 -1
- package/dist/src/eval-CKHWqG9f.js +16 -0
- package/dist/src/{eval-Cxb9alW8.js → eval-CYrbG57o.js} +45 -13
- package/dist/src/{evalResult-B8LbgWMA.js → evalResult-6JaUIStC.js} +6 -6
- package/dist/src/{evalResult-CJNSpa3q.js → evalResult-COsVttMA.js} +6 -6
- package/dist/src/evalResult-CxTP-LMm.cjs +11 -0
- package/dist/src/evalResult-CzLURDcP.js +13 -0
- package/dist/src/{evalResult-hI1mhi_g.cjs → evalResult-DlRfu_Rq.cjs} +6 -6
- package/dist/src/evalResult-DyttNQ_G.js +11 -0
- package/dist/src/evaluator-0PvfeBYh.js +38 -0
- package/dist/src/{evaluator-1Tkdu8MK.js → evaluator-3EJCMTs0.js} +74 -48
- package/dist/src/{extractor-BPBlLyOn.cjs → extractor-DbhlYEeo.cjs} +22 -5
- package/dist/src/{extractor-CuUWqwrE.js → extractor-Hs7la_19.js} +22 -5
- package/dist/src/{extractor-BFoThUOa.js → extractor-LSYjrhK0.js} +22 -5
- package/dist/src/{fetch-zJuFPxN1.js → fetch-18MuNu9i.js} +4 -4
- package/dist/src/{fetch-BdiCecAv.js → fetch-Bi0o-fdp.js} +1 -1
- package/dist/src/fetch-CMptBDVg.cjs +4 -0
- package/dist/src/{fetch-BQgz6x7S.js → fetch-DAZkv3gV.js} +2 -2
- package/dist/src/{fetch-BuP-gm0E.js → fetch-SRsE6Ctl.js} +4 -4
- package/dist/src/{fetch-Dy2YML9G.cjs → fetch-ZMn_oemb.cjs} +4 -4
- package/dist/src/{fileExtensions-CzcPkiKZ.js → fileExtensions-BpuMmaFL.js} +1 -1
- package/dist/src/{formatDuration-CGa0ZDQ8.js → formatDuration-Doo0xq-z.js} +1 -1
- package/dist/src/{genaiTracer-foKtbVa2.js → genaiTracer-CqNnnXrE.js} +1 -1
- package/dist/src/graders-BCytzXrb.js +34 -0
- package/dist/src/{graders-DMAzEgEF.js → graders-BaMCwIKp.js} +211 -91
- package/dist/src/graders-CGZQShfJ.cjs +33 -0
- package/dist/src/{graders-NBsuYeMx.cjs → graders-DzUUnUjC.cjs} +206 -86
- package/dist/src/{graders-CtvuaC8D.js → graders-QsALpIdy.js} +206 -86
- package/dist/src/graders-spkuVC-E.js +36 -0
- package/dist/src/{image-Bf8RiJ2g.js → image-BXt_7u0v.js} +3 -3
- package/dist/src/{image-LhLO5KCW.js → image-BiEVdpdP.js} +4 -4
- package/dist/src/{image-CaVWfZub.cjs → image-C3BjJUAU.cjs} +4 -4
- package/dist/src/{image-BnF25Osq.cjs → image-D10zEe1f.cjs} +3 -3
- package/dist/src/{image-DIn_AW1Z.js → image-DB4sHxdJ.js} +4 -4
- package/dist/src/{image-DFwp1aAV.js → image-mhAGP07h.js} +6 -6
- package/dist/src/index.cjs +152 -69
- package/dist/src/index.d.cts +20 -3
- package/dist/src/index.d.ts +20 -3
- package/dist/src/index.js +152 -69
- package/dist/src/{interactiveCheck-Dmm9vjpx.js → interactiveCheck-DU-MAhp5.js} +1 -1
- package/dist/src/{knowledgeBase-Bf57PI7g.cjs → knowledgeBase-Bnb00xKs.cjs} +6 -6
- package/dist/src/{knowledgeBase-DZw2L9kf.js → knowledgeBase-CMvMlLZR.js} +8 -8
- package/dist/src/{knowledgeBase-CfOvyF2s.js → knowledgeBase-XJQ0Qyez.js} +6 -6
- package/dist/src/{litellm-Ds8YmO1b.js → litellm-BECdjOTx.js} +3 -3
- package/dist/src/{litellm-ByNRN2Vh.cjs → litellm-BrnZhMcL.cjs} +11 -11
- package/dist/src/{litellm-fU-xV6T4.js → litellm-CHrRmPAe.js} +16 -16
- package/dist/src/{litellm-DexU8FFp.js → litellm-CrLJrPIm.js} +11 -11
- package/dist/src/{luma-ray-y26EHFO8.js → luma-ray-BOeX-h0M.js} +8 -8
- package/dist/src/{luma-ray-BIe5ctI4.cjs → luma-ray-C0RkI3lt.cjs} +8 -8
- package/dist/src/{luma-ray-vvE-O9EA.js → luma-ray-DgKLS0BF.js} +10 -10
- package/dist/src/main.js +1011 -404
- package/dist/src/{messages-Bg2ekFPc.js → messages-CDZYGNlS.js} +7 -7
- package/dist/src/{messages-DpoCLD_8.js → messages-D61tPFQo.js} +9 -9
- package/dist/src/{messages-16jb9LP7.cjs → messages-DXV3Qh8_.cjs} +7 -7
- package/dist/src/{meteor-DLCdreag.js → meteor-P2rUE-Uz.js} +1 -1
- package/dist/src/{nova-reel-BM0snD2m.js → nova-reel-Bk5npr2q.js} +10 -10
- package/dist/src/{nova-reel-CvXCVn3f.cjs → nova-reel-D9FXq3Mt.cjs} +8 -8
- package/dist/src/{nova-reel-CJLpBKSI.js → nova-reel-DtCjbD5O.js} +8 -8
- package/dist/src/{nova-sonic-CklvraBd.js → nova-sonic-BXRfQyF-.js} +7 -7
- package/dist/src/{nova-sonic-DEx_FdFW.cjs → nova-sonic-BoRSY_U6.cjs} +5 -5
- package/dist/src/{nova-sonic-Cjh_qopr.js → nova-sonic-CgaWLDM1.js} +5 -5
- package/dist/src/{openai-jNIREoAW.js → openai-CT5fwbve.js} +1 -1
- package/dist/src/{openclaw-CnAwBfPO.js → openclaw-B6XY2kUf.js} +14 -14
- package/dist/src/{openclaw-DBSSY4SP.js → openclaw-CpPrXwf6.js} +9 -9
- package/dist/src/{openclaw-CbHtt3B8.cjs → openclaw-DDSfq5fp.cjs} +9 -9
- package/dist/src/{opencode-sdk-CqxTHrk0.js → opencode-sdk-CImWVqy9.js} +6 -6
- package/dist/src/{opencode-sdk-xUrRk5Jx.js → opencode-sdk-CuCztr4P.js} +4 -4
- package/dist/src/{opencode-sdk-DdmtRB6D.cjs → opencode-sdk-mqF-Oj3f.cjs} +4 -4
- package/dist/src/{otlpReceiver-th2zHwjZ.cjs → otlpReceiver-B6Xo4KZM.cjs} +4 -4
- package/dist/src/{otlpReceiver-uytrRKdo.js → otlpReceiver-BO0rbDzh.js} +4 -4
- package/dist/src/{otlpReceiver-C-1cdVDr.js → otlpReceiver-Dg817agV.js} +5 -5
- package/dist/src/{providerRegistry-DAZoFmGv.js → providerRegistry-Xf0qdqGQ.js} +1 -1
- package/dist/src/providers-BMZZmPBJ.cjs +32 -0
- package/dist/src/{providers-CpUrPa8s.cjs → providers-BNKVY53V.cjs} +94 -64
- package/dist/src/{providers-D3lk_R7Q.js → providers-BiNq_Iyc.js} +94 -64
- package/dist/src/{providers-BOvl9qv5.js → providers-BlEhY5mi.js} +110 -79
- package/dist/src/providers-CQQrNaJk.js +32 -0
- package/dist/src/providers-Ck8HyrC-.js +34 -0
- package/dist/src/{pythonUtils-CUPlf1H0.js → pythonUtils-r1uBuA0n.js} +2 -2
- package/dist/src/{quiverai-BNGJOQym.cjs → quiverai-BNfIwKCO.cjs} +8 -8
- package/dist/src/{quiverai-Y7Is4wah.js → quiverai-BQigKdIH.js} +13 -13
- package/dist/src/{quiverai-DthRqZs9.js → quiverai-Bfy2WnE2.js} +8 -8
- package/dist/src/{render-kFatbqG6.js → render-CAZvKKkB.js} +3 -3
- package/dist/src/{responses-BtU_i-R0.js → responses-DLLjADw5.js} +5 -5
- package/dist/src/{responses-B85halqh.js → responses-TsdODUpm.js} +8 -8
- package/dist/src/{responses-CXJACENh.cjs → responses-zOtKtnY_.cjs} +5 -5
- package/dist/src/{rubyUtils-DYKoa7Ze.js → rubyUtils-BtjlqyXt.js} +2 -2
- package/dist/src/{rubyUtils-BA4D4gMX.js → rubyUtils-D7--T12C.js} +2 -2
- package/dist/src/{sagemaker-hRS_Jj3-.js → sagemaker-BcgLu0U4.js} +17 -17
- package/dist/src/{sagemaker-DI6IOTjT.js → sagemaker-CLdUAv5z.js} +11 -11
- package/dist/src/{sagemaker-BUagsrJ-.cjs → sagemaker-DwNnEVYt.cjs} +11 -11
- package/dist/src/{scanner-C6QXA9Pn.js → scanner-Dyw21Wg_.js} +10 -10
- package/dist/src/server/index.js +1376 -486
- package/dist/src/server-BUbS0Qfh.js +6 -0
- package/dist/src/{server-BPC37wlX.js → server-CbMTRQkg.js} +3 -3
- package/dist/src/{server-C_O6-VE4.cjs → server-CgUQ25qW.cjs} +3 -3
- package/dist/src/{server-HQtz_gUy.js → server-DWmZLfCy.js} +4 -4
- package/dist/src/server-XpGXFHkS.cjs +6 -0
- package/dist/src/server-gfOx5Zrk.js +8 -0
- package/dist/src/{signal-D4VhSJOY.js → signal-Bl32q42d.js} +2 -2
- package/dist/src/{slack-DTUSadx4.js → slack-BfdBx2tO.js} +1 -1
- package/dist/src/{store-BTdkdmK9.js → store-2ocbYY9D.js} +2 -2
- package/dist/src/store-5u2yriTV.js +7 -0
- package/dist/src/{store-F-KTiqfb.cjs → store-BqwfFEyF.cjs} +2 -2
- package/dist/src/{store-rueRdzcm.js → store-D4gdn9ih.js} +2 -2
- package/dist/src/store-D_lq_8oQ.js +6 -0
- package/dist/src/store-m5KT6Ly7.cjs +6 -0
- package/dist/src/{tables-w-r-abWq.cjs → tables-B9E1kRp-.cjs} +2 -2
- package/dist/src/{tables-ChjAuVAR.js → tables-C7TT2XVn.js} +2 -2
- package/dist/src/{tables-dNaVPyDr.js → tables-D-NSwNIb.js} +2 -2
- package/dist/src/telemetry-5RHFoCJh.js +6 -0
- package/dist/src/{telemetry-wXyCQ1Nz.js → telemetry-BXyVqyAg.js} +3 -3
- package/dist/src/{telemetry-Y1esJM0v.cjs → telemetry-D0_yFdtU.cjs} +3 -3
- package/dist/src/{telemetry-Dai7PdlR.js → telemetry-DZ_7PaVq.js} +3 -3
- package/dist/src/telemetry-Do8wMnA-.js +8 -0
- package/dist/src/telemetry-LojxPoFq.cjs +6 -0
- package/dist/src/{text-C1cXk9ij.js → text-DgMr_tiM.js} +1 -1
- package/dist/src/{tokenUsageUtils-D2ko2eFQ.js → tokenUsageUtils-DmZSD2eU.js} +1 -1
- package/dist/src/{transcription-i6EfSMie.js → transcription-CYuY5sFO.js} +6 -6
- package/dist/src/{transcription-CcYTL4wi.js → transcription-Ch7S-LWw.js} +10 -10
- package/dist/src/{transcription-C-K2hDJX.cjs → transcription-FNIz3YOe.cjs} +6 -6
- package/dist/src/{transform-gpzlPrwG.js → transform-CoP2bJ7P.js} +43 -4
- package/dist/src/{transform-B86_0IIb.js → transform-CqTFr7KR.js} +4 -4
- package/dist/src/{transform-DosdxVdh.js → transform-DMaxQwDx.js} +43 -4
- package/dist/src/{transform-DwsntMEQ.js → transform-GybT0X0u.js} +3 -3
- package/dist/src/{transform-CCSNqTI-.cjs → transform-ivxEY4f7.cjs} +54 -3
- package/dist/src/{transformersAvailability-DM54tWzt.js → transformersAvailability-DwmezkVe.js} +1 -1
- package/dist/src/{types-Brw5kggg.cjs → types-BIfttHrT.cjs} +13 -1
- package/dist/src/{types-CslP2TyG.js → types-DMVjYLpx.js} +13 -1
- package/dist/src/{types-CMDs7Kzu.js → types-t52w-XsS.js} +16 -2
- package/dist/src/{util-BECSJ0T_.js → util-BSh4a_Q8.js} +6 -6
- package/dist/src/{util-D8z5QOy8.cjs → util-C08Kns6-.cjs} +3 -3
- package/dist/src/{util-CttPoePn.js → util-CUEt0Vum.js} +3 -3
- package/dist/src/{util-CfPdWQJX.js → util-Cl0zfT3V.js} +3 -3
- package/dist/src/{util-Dab5xp2E.cjs → util-DUYOvxAy.cjs} +3 -3
- package/dist/src/{util-CY_XguB9.js → util-DiCePfDu.js} +3 -3
- package/dist/src/{util-CBAXTxfy.cjs → util-DkFTvieG.cjs} +3 -3
- package/dist/src/{util-Dft1RxsL.js → util-mJ58qbbw.js} +3 -3
- package/dist/src/{util-Ba18wQ8e.js → util-vjscpUzy.js} +3 -3
- package/dist/src/{utils-BTeLHwiH.js → utils-CVzb4YiI.js} +2 -2
- package/dist/src/{utils-Db5KwiXp.cjs → utils-DFaZa6Rf.cjs} +2 -2
- package/dist/src/{utils-ICP7kLcY.js → utils-JaY9veb5.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +43 -42
- package/dist/src/app/assets/index-COIipVf1.css +0 -1
- package/dist/src/app/assets/index-ClD64gUa.js +0 -428
- package/dist/src/app/assets/vendor-react-DHoaNLma.js +0 -4
- package/dist/src/cache-BJ31KhNT.cjs +0 -6
- package/dist/src/eval-DgiEH2xe.js +0 -16
- package/dist/src/evalResult-Boel8xoS.js +0 -13
- package/dist/src/evalResult-DGx1-Ela.js +0 -11
- package/dist/src/evalResult-DzRxYLDH.cjs +0 -11
- package/dist/src/evaluator-B4qKt437.js +0 -38
- package/dist/src/fetch-DwhKew9e.cjs +0 -4
- package/dist/src/graders-BpEqZT2Q.js +0 -34
- package/dist/src/graders-DTGI-hHE.cjs +0 -33
- package/dist/src/graders-DgMr-E4I.js +0 -36
- package/dist/src/providers-DVsoSup2.js +0 -34
- package/dist/src/providers-D_tJatIk.js +0 -32
- package/dist/src/providers-wpMPsMZ7.cjs +0 -32
- package/dist/src/server-BeqUuSvj.js +0 -6
- package/dist/src/server-CwQsQ6dl.cjs +0 -6
- package/dist/src/server-Dhbq83-d.js +0 -8
- package/dist/src/store-C7U17qcu.js +0 -6
- package/dist/src/store-CuDU_jDN.js +0 -7
- package/dist/src/store-awdDxuiD.cjs +0 -6
- package/dist/src/telemetry-ClcYTCOG.js +0 -8
- package/dist/src/telemetry-DEWuLu_s.js +0 -6
- package/dist/src/telemetry-tADmeX6E.cjs +0 -6
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<a href="https://npmjs.com/package/promptfoo"><img src="https://img.shields.io/npm/dm/promptfoo" alt="npm"></a>
|
|
6
6
|
<a href="https://github.com/promptfoo/promptfoo/actions/workflows/main.yml"><img src="https://img.shields.io/github/actions/workflow/status/promptfoo/promptfoo/main.yml" alt="GitHub Workflow Status"></a>
|
|
7
7
|
<a href="https://github.com/promptfoo/promptfoo/blob/main/LICENSE"><img src="https://img.shields.io/github/license/promptfoo/promptfoo" alt="MIT license"></a>
|
|
8
|
-
<a href="https://discord.gg/promptfoo"><img src="https://
|
|
8
|
+
<a href="https://discord.gg/promptfoo"><img src="https://img.shields.io/discord/1146610656779440188?logo=discord&label=promptfoo" alt="Discord"></a>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
-
<code>promptfoo</code> is a
|
|
12
|
+
<code>promptfoo</code> is a CLI and library for evaluating and red-teaming LLM apps. Stop the trial-and-error approach - start shipping secure, reliable AI apps.
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
@@ -23,11 +23,24 @@
|
|
|
23
23
|
## Quick Start
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
npm install -g promptfoo
|
|
27
|
+
promptfoo init --example getting-started
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Also available via `brew install promptfoo` and `pip install promptfoo`. You can also use `npx promptfoo@latest` to run any command without installing.
|
|
31
|
+
|
|
32
|
+
Most LLM providers require an API key. Set yours as an environment variable:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
export OPENAI_API_KEY=sk-abc123
|
|
36
|
+
```
|
|
28
37
|
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
Once you're in the example directory, run an eval and view results:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
cd getting-started
|
|
42
|
+
promptfoo eval
|
|
43
|
+
promptfoo view
|
|
31
44
|
```
|
|
32
45
|
|
|
33
46
|
See [Getting Started](https://www.promptfoo.dev/docs/getting-started/) (evals) or [Red Teaming](https://www.promptfoo.dev/docs/red-team/) (vulnerability scanning) for more.
|
|
@@ -43,34 +56,34 @@ See [Getting Started](https://www.promptfoo.dev/docs/getting-started/) (evals) o
|
|
|
43
56
|
|
|
44
57
|
Here's what it looks like in action:
|
|
45
58
|
|
|
46
|
-
|
|
59
|
+
<img src="site/static/img/claude-vs-gpt-example@2x.png" alt="prompt evaluation matrix - web viewer" width="700">
|
|
47
60
|
|
|
48
61
|
It works on the command line too:
|
|
49
62
|
|
|
50
|
-
|
|
63
|
+
<img src="https://www.promptfoo.dev/img/docs/self-grading.gif" alt="promptfoo command line" width="700">
|
|
51
64
|
|
|
52
65
|
It also can generate [security vulnerability reports](https://www.promptfoo.dev/docs/red-team/):
|
|
53
66
|
|
|
54
|
-
|
|
67
|
+
<img src="https://www.promptfoo.dev/img/riskreport-1@2x.png" alt="gen ai red team" width="700">
|
|
55
68
|
|
|
56
69
|
## Why Promptfoo?
|
|
57
70
|
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
71
|
+
- **Developer-first**: Fast, with features like live reload and caching
|
|
72
|
+
- **Private**: LLM evals run 100% locally - your prompts never leave your machine
|
|
73
|
+
- **Flexible**: Works with any LLM API or programming language
|
|
74
|
+
- **Battle-tested**: Powers LLM apps serving 10M+ users in production
|
|
75
|
+
- **Data-driven**: Make decisions based on metrics, not gut feel
|
|
76
|
+
- **Open source**: MIT licensed, with an active community
|
|
64
77
|
|
|
65
78
|
## Learn More
|
|
66
79
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
80
|
+
- [Getting Started](https://www.promptfoo.dev/docs/getting-started/)
|
|
81
|
+
- [Full Documentation](https://www.promptfoo.dev/docs/intro/)
|
|
82
|
+
- [Red Teaming Guide](https://www.promptfoo.dev/docs/red-team/)
|
|
83
|
+
- [CLI Usage](https://www.promptfoo.dev/docs/usage/command-line/)
|
|
84
|
+
- [Node.js Package](https://www.promptfoo.dev/docs/usage/node-package/)
|
|
85
|
+
- [Supported Models](https://www.promptfoo.dev/docs/providers/)
|
|
86
|
+
- [Code Scanning Guide](https://www.promptfoo.dev/docs/code-scanning/)
|
|
74
87
|
|
|
75
88
|
## Contributing
|
|
76
89
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_logger = require('./logger-BdZ-IqBc.cjs');
|
|
2
|
-
const require_fetch = require('./fetch-
|
|
2
|
+
const require_fetch = require('./fetch-ZMn_oemb.cjs');
|
|
3
3
|
let chalk = require("chalk");
|
|
4
4
|
chalk = require_logger.__toESM(chalk);
|
|
5
5
|
let zod = require("zod");
|
|
@@ -80,7 +80,7 @@ function getAuthMethod() {
|
|
|
80
80
|
* Used by both CLI and server routes
|
|
81
81
|
*/
|
|
82
82
|
async function checkEmailStatus(options) {
|
|
83
|
-
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-
|
|
83
|
+
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-LojxPoFq.cjs"));
|
|
84
84
|
const userEmail = require_logger.isCI() ? "ci-placeholder@promptfoo.dev" : getUserEmail();
|
|
85
85
|
if (!userEmail) return {
|
|
86
86
|
status: NO_EMAIL_STATUS,
|
|
@@ -114,7 +114,7 @@ async function checkEmailStatus(options) {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
async function promptForEmailUnverified() {
|
|
117
|
-
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-
|
|
117
|
+
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-LojxPoFq.cjs"));
|
|
118
118
|
const existingEmail = getUserEmail();
|
|
119
119
|
let email = require_logger.isCI() ? "ci-placeholder@promptfoo.dev" : existingEmail;
|
|
120
120
|
const existingEmailNeedsValidation = !require_logger.isCI() && getUserEmailNeedsValidation();
|
|
@@ -228,4 +228,4 @@ Object.defineProperty(exports, 'setUserEmail', {
|
|
|
228
228
|
return setUserEmail;
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
|
-
//# sourceMappingURL=accounts-
|
|
231
|
+
//# sourceMappingURL=accounts-BzEY8H3v.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { C as getEnvString, E as isCI, o as logger_default } from "./logger-BotXmWKW.js";
|
|
3
|
-
import { O as TERMINAL_MAX_WIDTH, i as fetchWithTimeout } from "./fetch-
|
|
4
|
-
import { a as readGlobalConfig, o as writeGlobalConfig, r as CloudConfig, s as writeGlobalConfigPartial } from "./cloud-
|
|
3
|
+
import { O as TERMINAL_MAX_WIDTH, i as fetchWithTimeout } from "./fetch-SRsE6Ctl.js";
|
|
4
|
+
import { a as readGlobalConfig, o as writeGlobalConfig, r as CloudConfig, s as writeGlobalConfigPartial } from "./cloud-BMbRVJFw.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import input from "@inquirer/input";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -85,7 +85,7 @@ function getAuthMethod() {
|
|
|
85
85
|
* Used by both CLI and server routes
|
|
86
86
|
*/
|
|
87
87
|
async function checkEmailStatus(options) {
|
|
88
|
-
const { default: telemetry } = await import("./telemetry-
|
|
88
|
+
const { default: telemetry } = await import("./telemetry-Do8wMnA-.js");
|
|
89
89
|
const userEmail = isCI() ? "ci-placeholder@promptfoo.dev" : getUserEmail();
|
|
90
90
|
if (!userEmail) return {
|
|
91
91
|
status: NO_EMAIL_STATUS,
|
|
@@ -119,7 +119,7 @@ async function checkEmailStatus(options) {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
async function promptForEmailUnverified() {
|
|
122
|
-
const { default: telemetry } = await import("./telemetry-
|
|
122
|
+
const { default: telemetry } = await import("./telemetry-Do8wMnA-.js");
|
|
123
123
|
const existingEmail = getUserEmail();
|
|
124
124
|
let email = isCI() ? "ci-placeholder@promptfoo.dev" : existingEmail;
|
|
125
125
|
const existingEmailNeedsValidation = !isCI() && getUserEmailNeedsValidation();
|
|
@@ -180,4 +180,4 @@ async function checkEmailStatusAndMaybeExit(options) {
|
|
|
180
180
|
|
|
181
181
|
//#endregion
|
|
182
182
|
export { getAuthor as a, isLoggedIntoCloud as c, EMAIL_OK_STATUS as d, getAuthMethod as i, promptForEmailUnverified as l, checkEmailStatusAndMaybeExit as n, getUserEmail as o, clearUserEmail as r, getUserId as s, checkEmailStatus as t, setUserEmail as u };
|
|
183
|
-
//# sourceMappingURL=accounts-
|
|
183
|
+
//# sourceMappingURL=accounts-DHHiXsy6.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as isCI, b as getEnvString, i as logger_default } from "./logger-w8Ozp0Td.js";
|
|
2
|
-
import { M as TERMINAL_MAX_WIDTH, d as writeGlobalConfigPartial, l as readGlobalConfig, r as fetchWithTimeout, s as CloudConfig, u as writeGlobalConfig } from "./fetch-
|
|
2
|
+
import { M as TERMINAL_MAX_WIDTH, d as writeGlobalConfigPartial, l as readGlobalConfig, r as fetchWithTimeout, s as CloudConfig, u as writeGlobalConfig } from "./fetch-18MuNu9i.js";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import input from "@inquirer/input";
|
|
@@ -78,7 +78,7 @@ function getAuthMethod() {
|
|
|
78
78
|
* Used by both CLI and server routes
|
|
79
79
|
*/
|
|
80
80
|
async function checkEmailStatus(options) {
|
|
81
|
-
const { default: telemetry } = await import("./telemetry-
|
|
81
|
+
const { default: telemetry } = await import("./telemetry-5RHFoCJh.js");
|
|
82
82
|
const userEmail = isCI() ? "ci-placeholder@promptfoo.dev" : getUserEmail();
|
|
83
83
|
if (!userEmail) return {
|
|
84
84
|
status: NO_EMAIL_STATUS,
|
|
@@ -112,7 +112,7 @@ async function checkEmailStatus(options) {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
async function promptForEmailUnverified() {
|
|
115
|
-
const { default: telemetry } = await import("./telemetry-
|
|
115
|
+
const { default: telemetry } = await import("./telemetry-5RHFoCJh.js");
|
|
116
116
|
const existingEmail = getUserEmail();
|
|
117
117
|
let email = isCI() ? "ci-placeholder@promptfoo.dev" : existingEmail;
|
|
118
118
|
const existingEmailNeedsValidation = !isCI() && getUserEmailNeedsValidation();
|
|
@@ -173,4 +173,4 @@ async function checkEmailStatusAndMaybeExit(options) {
|
|
|
173
173
|
|
|
174
174
|
//#endregion
|
|
175
175
|
export { getUserId as a, setUserEmail as c, getUserEmail as i, EMAIL_OK_STATUS as l, getAuthMethod as n, isLoggedIntoCloud as o, getAuthor as r, promptForEmailUnverified as s, checkEmailStatusAndMaybeExit as t };
|
|
176
|
-
//# sourceMappingURL=accounts-
|
|
176
|
+
//# sourceMappingURL=accounts-R3gfCR_g.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { o as logger_default } from "./logger-BotXmWKW.js";
|
|
3
|
-
import { o as getCache, s as isCacheEnabled } from "./cache-
|
|
3
|
+
import { o as getCache, s as isCacheEnabled } from "./cache-mIszOnuz.js";
|
|
4
4
|
import fs from "fs";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import dedent from "dedent";
|
|
@@ -152,4 +152,4 @@ async function cacheResponse(cacheResult, response, debugContext) {
|
|
|
152
152
|
|
|
153
153
|
//#endregion
|
|
154
154
|
export { getCachedResponse as n, initializeAgenticCache as r, cacheResponse as t };
|
|
155
|
-
//# sourceMappingURL=agentic-utils-
|
|
155
|
+
//# sourceMappingURL=agentic-utils-D6_gzOUF.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_logger = require('./logger-BdZ-IqBc.cjs');
|
|
2
|
-
require('./fetch-
|
|
3
|
-
const require_cache = require('./cache-
|
|
4
|
-
require('./accounts-
|
|
5
|
-
const require_telemetry = require('./telemetry-
|
|
6
|
-
const require_base = require('./base-
|
|
2
|
+
require('./fetch-ZMn_oemb.cjs');
|
|
3
|
+
const require_cache = require('./cache-7xULbvt3.cjs');
|
|
4
|
+
require('./accounts-BzEY8H3v.cjs');
|
|
5
|
+
const require_telemetry = require('./telemetry-D0_yFdtU.cjs');
|
|
6
|
+
const require_base = require('./base-f71xxWai.cjs');
|
|
7
7
|
|
|
8
8
|
//#region src/providers/bedrock/agents.ts
|
|
9
9
|
/**
|
|
@@ -238,4 +238,4 @@ var AwsBedrockAgentsProvider = class extends require_base.AwsBedrockGenericProvi
|
|
|
238
238
|
|
|
239
239
|
//#endregion
|
|
240
240
|
exports.AwsBedrockAgentsProvider = AwsBedrockAgentsProvider;
|
|
241
|
-
//# sourceMappingURL=agents-
|
|
241
|
+
//# sourceMappingURL=agents-C7BiinFI.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./chunk-DHDDz29n.js";
|
|
3
3
|
import { C as getEnvString, S as getEnvInt, o as logger_default } from "./logger-BotXmWKW.js";
|
|
4
|
-
import "./fetch-
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./cloud-
|
|
7
|
-
import { r as telemetry_default } from "./telemetry-
|
|
8
|
-
import { o as getCache, s as isCacheEnabled } from "./cache-
|
|
9
|
-
import { t as AwsBedrockGenericProvider } from "./base-
|
|
4
|
+
import "./fetch-SRsE6Ctl.js";
|
|
5
|
+
import "./accounts-DHHiXsy6.js";
|
|
6
|
+
import "./cloud-BMbRVJFw.js";
|
|
7
|
+
import { r as telemetry_default } from "./telemetry-BXyVqyAg.js";
|
|
8
|
+
import { o as getCache, s as isCacheEnabled } from "./cache-mIszOnuz.js";
|
|
9
|
+
import { t as AwsBedrockGenericProvider } from "./base-BaXmtXYp.js";
|
|
10
10
|
|
|
11
11
|
//#region src/providers/bedrock/agents.ts
|
|
12
12
|
/**
|
|
@@ -241,4 +241,4 @@ var AwsBedrockAgentsProvider = class extends AwsBedrockGenericProvider {
|
|
|
241
241
|
|
|
242
242
|
//#endregion
|
|
243
243
|
export { AwsBedrockAgentsProvider };
|
|
244
|
-
//# sourceMappingURL=agents-
|
|
244
|
+
//# sourceMappingURL=agents-Cao4i7AX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_logger = require('./logger-BdZ-IqBc.cjs');
|
|
2
2
|
const require_esm = require('./esm-BQkx5roy.cjs');
|
|
3
|
-
const require_fetch = require('./fetch-
|
|
3
|
+
const require_fetch = require('./fetch-ZMn_oemb.cjs');
|
|
4
4
|
const require_openai = require('./openai-Bigwjgo1.cjs');
|
|
5
5
|
let path = require("path");
|
|
6
6
|
path = require_logger.__toESM(path);
|
|
@@ -431,4 +431,4 @@ var OpenAiAgentsProvider = class extends require_openai.OpenAiGenericProvider {
|
|
|
431
431
|
|
|
432
432
|
//#endregion
|
|
433
433
|
exports.OpenAiAgentsProvider = OpenAiAgentsProvider;
|
|
434
|
-
//# sourceMappingURL=agents-
|
|
434
|
+
//# sourceMappingURL=agents-CwM7re15.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-FhC4c-0y.js";
|
|
2
2
|
import { b as getEnvString, i as logger_default, y as getEnvInt } from "./logger-w8Ozp0Td.js";
|
|
3
|
-
import "./fetch-
|
|
4
|
-
import { o as getCache, s as isCacheEnabled } from "./cache-
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import { n as telemetry_default } from "./telemetry-
|
|
7
|
-
import { t as AwsBedrockGenericProvider } from "./base-
|
|
3
|
+
import "./fetch-18MuNu9i.js";
|
|
4
|
+
import { o as getCache, s as isCacheEnabled } from "./cache-BLLayYEN.js";
|
|
5
|
+
import "./accounts-R3gfCR_g.js";
|
|
6
|
+
import { n as telemetry_default } from "./telemetry-DZ_7PaVq.js";
|
|
7
|
+
import { t as AwsBedrockGenericProvider } from "./base-Dtp8b4_N.js";
|
|
8
8
|
|
|
9
9
|
//#region src/providers/bedrock/agents.ts
|
|
10
10
|
/**
|
|
@@ -239,4 +239,4 @@ var AwsBedrockAgentsProvider = class extends AwsBedrockGenericProvider {
|
|
|
239
239
|
|
|
240
240
|
//#endregion
|
|
241
241
|
export { AwsBedrockAgentsProvider };
|
|
242
|
-
//# sourceMappingURL=agents-
|
|
242
|
+
//# sourceMappingURL=agents-DETIQHqF.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { O as cliState_default, o as logger_default } from "./logger-BotXmWKW.js";
|
|
3
|
-
import { n as fetchWithProxy } from "./fetch-
|
|
4
|
-
import "./cloud-
|
|
5
|
-
import { r as importModule } from "./esm-
|
|
6
|
-
import { t as OpenAiGenericProvider } from "./openai-
|
|
3
|
+
import { n as fetchWithProxy } from "./fetch-SRsE6Ctl.js";
|
|
4
|
+
import "./cloud-BMbRVJFw.js";
|
|
5
|
+
import { r as importModule } from "./esm-CYhseqj4.js";
|
|
6
|
+
import { t as OpenAiGenericProvider } from "./openai-CT5fwbve.js";
|
|
7
7
|
import path from "path";
|
|
8
8
|
import { BatchTraceProcessor, addTraceProcessor, getOrCreateTrace, run, startTraceExportLoop } from "@openai/agents";
|
|
9
9
|
|
|
@@ -432,4 +432,4 @@ var OpenAiAgentsProvider = class extends OpenAiGenericProvider {
|
|
|
432
432
|
|
|
433
433
|
//#endregion
|
|
434
434
|
export { OpenAiAgentsProvider };
|
|
435
|
-
//# sourceMappingURL=agents-
|
|
435
|
+
//# sourceMappingURL=agents-DYIT-hQy.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as logger_default, w as cliState_default } from "./logger-w8Ozp0Td.js";
|
|
2
2
|
import { r as importModule } from "./esm-rDtG_2rg.js";
|
|
3
|
-
import { t as fetchWithProxy } from "./fetch-
|
|
3
|
+
import { t as fetchWithProxy } from "./fetch-18MuNu9i.js";
|
|
4
4
|
import { t as OpenAiGenericProvider } from "./openai-Dz3surb_.js";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import { BatchTraceProcessor, addTraceProcessor, getOrCreateTrace, run, startTraceExportLoop } from "@openai/agents";
|
|
@@ -430,4 +430,4 @@ var OpenAiAgentsProvider = class extends OpenAiGenericProvider {
|
|
|
430
430
|
|
|
431
431
|
//#endregion
|
|
432
432
|
export { OpenAiAgentsProvider };
|
|
433
|
-
//# sourceMappingURL=agents-
|
|
433
|
+
//# sourceMappingURL=agents-GiUianme.js.map
|
|
@@ -2,16 +2,16 @@ import "./chunk-FhC4c-0y.js";
|
|
|
2
2
|
import "./logger-w8Ozp0Td.js";
|
|
3
3
|
import "./esm-rDtG_2rg.js";
|
|
4
4
|
import "./pythonUtils-vMlk9Qp5.js";
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./util-
|
|
7
|
-
import "./fetch-
|
|
8
|
-
import "./cache-
|
|
5
|
+
import "./types-DMVjYLpx.js";
|
|
6
|
+
import "./util-DiCePfDu.js";
|
|
7
|
+
import "./fetch-18MuNu9i.js";
|
|
8
|
+
import "./cache-BLLayYEN.js";
|
|
9
9
|
import "./genaiTracer-Ce19n68P.js";
|
|
10
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
11
|
-
import "./transform-
|
|
10
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-C8Ei4f87.js";
|
|
11
|
+
import "./transform-DMaxQwDx.js";
|
|
12
12
|
import "./openai-Dz3surb_.js";
|
|
13
|
-
import "./util-
|
|
14
|
-
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-
|
|
13
|
+
import "./util-Cl0zfT3V.js";
|
|
14
|
+
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-D9_MDlnd.js";
|
|
15
15
|
|
|
16
16
|
//#region src/providers/aimlapi.ts
|
|
17
17
|
/**
|
|
@@ -37,4 +37,4 @@ function createAimlApiProvider(providerPath, options = {}) {
|
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
39
39
|
export { createAimlApiProvider };
|
|
40
|
-
//# sourceMappingURL=aimlapi-
|
|
40
|
+
//# sourceMappingURL=aimlapi-CMJpKK-B.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./chunk-DHDDz29n.js";
|
|
3
3
|
import "./logger-BotXmWKW.js";
|
|
4
|
-
import "./fetch-
|
|
5
|
-
import "./cloud-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./cache-
|
|
8
|
-
import "./util-
|
|
9
|
-
import "./esm-
|
|
10
|
-
import "./pythonUtils-
|
|
11
|
-
import "./genaiTracer-
|
|
12
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
13
|
-
import "./transform-
|
|
14
|
-
import "./openai-
|
|
15
|
-
import "./util-
|
|
16
|
-
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-
|
|
4
|
+
import "./fetch-SRsE6Ctl.js";
|
|
5
|
+
import "./cloud-BMbRVJFw.js";
|
|
6
|
+
import "./types-t52w-XsS.js";
|
|
7
|
+
import "./cache-mIszOnuz.js";
|
|
8
|
+
import "./util-BSh4a_Q8.js";
|
|
9
|
+
import "./esm-CYhseqj4.js";
|
|
10
|
+
import "./pythonUtils-r1uBuA0n.js";
|
|
11
|
+
import "./genaiTracer-CqNnnXrE.js";
|
|
12
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-DIywASPG.js";
|
|
13
|
+
import "./transform-CoP2bJ7P.js";
|
|
14
|
+
import "./openai-CT5fwbve.js";
|
|
15
|
+
import "./util-CUEt0Vum.js";
|
|
16
|
+
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-BBJ6zmG3.js";
|
|
17
17
|
|
|
18
18
|
//#region src/providers/aimlapi.ts
|
|
19
19
|
/**
|
|
@@ -39,4 +39,4 @@ function createAimlApiProvider(providerPath, options = {}) {
|
|
|
39
39
|
|
|
40
40
|
//#endregion
|
|
41
41
|
export { createAimlApiProvider };
|
|
42
|
-
//# sourceMappingURL=aimlapi-
|
|
42
|
+
//# sourceMappingURL=aimlapi-DMF6v_vb.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
require('./logger-BdZ-IqBc.cjs');
|
|
2
2
|
require('./esm-BQkx5roy.cjs');
|
|
3
3
|
require('./pythonUtils-DZ6EbdY4.cjs');
|
|
4
|
-
require('./types-
|
|
5
|
-
require('./util-
|
|
6
|
-
require('./fetch-
|
|
7
|
-
require('./cache-
|
|
4
|
+
require('./types-BIfttHrT.cjs');
|
|
5
|
+
require('./util-DUYOvxAy.cjs');
|
|
6
|
+
require('./fetch-ZMn_oemb.cjs');
|
|
7
|
+
require('./cache-7xULbvt3.cjs');
|
|
8
8
|
require('./genaiTracer-CQlpZkrp.cjs');
|
|
9
|
-
const require_chat = require('./chat-
|
|
10
|
-
require('./transform-
|
|
9
|
+
const require_chat = require('./chat-C4zqjObh.cjs');
|
|
10
|
+
require('./transform-ivxEY4f7.cjs');
|
|
11
11
|
require('./openai-Bigwjgo1.cjs');
|
|
12
|
-
require('./util-
|
|
13
|
-
const require_completion = require('./completion-
|
|
12
|
+
require('./util-C08Kns6-.cjs');
|
|
13
|
+
const require_completion = require('./completion-DDyL3Cb2.cjs');
|
|
14
14
|
|
|
15
15
|
//#region src/providers/aimlapi.ts
|
|
16
16
|
/**
|
|
@@ -36,4 +36,4 @@ function createAimlApiProvider(providerPath, options = {}) {
|
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
38
|
exports.createAimlApiProvider = createAimlApiProvider;
|
|
39
|
-
//# sourceMappingURL=aimlapi-
|
|
39
|
+
//# sourceMappingURL=aimlapi-DoGLcQW_.cjs.map
|