@jambonz/llm 0.6.8 → 0.6.9
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.cjs +57 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -2
- package/dist/index.js.map +1 -1
- package/dist/test-kit/index.cjs +56 -1
- package/dist/test-kit/index.cjs.map +1 -1
- package/dist/test-kit/index.d.cts +1 -1
- package/dist/test-kit/index.d.ts +1 -1
- package/dist/test-kit/index.js +56 -1
- package/dist/test-kit/index.js.map +1 -1
- package/dist/{types-4l2etrW-.d.cts → types-C_yrWq_0.d.cts} +12 -1
- package/dist/{types-4l2etrW-.d.ts → types-C_yrWq_0.d.ts} +12 -1
- package/package.json +1 -1
package/dist/test-kit/index.cjs
CHANGED
|
@@ -3797,7 +3797,60 @@ var harnessManifest = {
|
|
|
3797
3797
|
],
|
|
3798
3798
|
knownModels: [],
|
|
3799
3799
|
supportsModelListing: false,
|
|
3800
|
-
credentialOnly: true
|
|
3800
|
+
credentialOnly: true,
|
|
3801
|
+
category: "llm"
|
|
3802
|
+
};
|
|
3803
|
+
|
|
3804
|
+
// src/vendors/dialogflow-ces.ts
|
|
3805
|
+
var dialogflowCesManifest = {
|
|
3806
|
+
vendor: "dialogflow_ces",
|
|
3807
|
+
displayName: "Dialogflow CES",
|
|
3808
|
+
authKinds: [
|
|
3809
|
+
{
|
|
3810
|
+
kind: "googleServiceAccount",
|
|
3811
|
+
displayName: "Service Account JSON",
|
|
3812
|
+
fields: [
|
|
3813
|
+
{
|
|
3814
|
+
name: "credentials",
|
|
3815
|
+
label: "Service Account Key (JSON)",
|
|
3816
|
+
type: "json-file",
|
|
3817
|
+
required: true,
|
|
3818
|
+
help: "The key of a service account allowed to run your CES agents (Customer Engagement Suite)."
|
|
3819
|
+
}
|
|
3820
|
+
]
|
|
3821
|
+
}
|
|
3822
|
+
],
|
|
3823
|
+
knownModels: [],
|
|
3824
|
+
supportsModelListing: false,
|
|
3825
|
+
docsUrl: "https://cloud.google.com/customer-engagement-ai/conversational-agents/ps",
|
|
3826
|
+
credentialOnly: true,
|
|
3827
|
+
category: "hosted"
|
|
3828
|
+
};
|
|
3829
|
+
|
|
3830
|
+
// src/vendors/openai-s2s.ts
|
|
3831
|
+
var openaiS2sManifest = {
|
|
3832
|
+
vendor: "openai_s2s",
|
|
3833
|
+
displayName: "OpenAI Realtime",
|
|
3834
|
+
authKinds: [
|
|
3835
|
+
{
|
|
3836
|
+
kind: "apiKey",
|
|
3837
|
+
displayName: "API Key",
|
|
3838
|
+
fields: [
|
|
3839
|
+
{
|
|
3840
|
+
name: "apiKey",
|
|
3841
|
+
label: "API Key",
|
|
3842
|
+
type: "password",
|
|
3843
|
+
required: true,
|
|
3844
|
+
help: "An OpenAI API key with access to the Realtime API."
|
|
3845
|
+
}
|
|
3846
|
+
]
|
|
3847
|
+
}
|
|
3848
|
+
],
|
|
3849
|
+
knownModels: [],
|
|
3850
|
+
supportsModelListing: false,
|
|
3851
|
+
docsUrl: "https://platform.openai.com/docs/guides/realtime",
|
|
3852
|
+
credentialOnly: true,
|
|
3853
|
+
category: "s2s"
|
|
3801
3854
|
};
|
|
3802
3855
|
|
|
3803
3856
|
// src/adapters/index.ts
|
|
@@ -3818,6 +3871,8 @@ registerAdapter(groqFactory);
|
|
|
3818
3871
|
registerAdapter(huggingfaceFactory);
|
|
3819
3872
|
registerAdapter(openRouterFactory);
|
|
3820
3873
|
registerCredentialVendor(harnessManifest);
|
|
3874
|
+
registerCredentialVendor(openaiS2sManifest);
|
|
3875
|
+
registerCredentialVendor(dialogflowCesManifest);
|
|
3821
3876
|
|
|
3822
3877
|
// src/index.ts
|
|
3823
3878
|
async function createLlm(args) {
|