Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@soniox/langchain

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soniox/langchain - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+3
-3
dist/soniox.cjs

@@ -99,3 +99,3 @@ "use strict";

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* language_hints: ["en"],

@@ -117,3 +117,3 @@ * enable_speaker_diarization: true

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* translation: { type: "two_way", language_a: "en", language_b: "es" },

@@ -149,3 +149,3 @@ * language_hints: ["en", "es"],

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* translation: { type: "one_way", target_language: "fr" },

@@ -152,0 +152,0 @@ * language_hints: ["en"],

@@ -29,3 +29,3 @@ import { BaseDocumentLoader } from "@langchain/core/document_loaders/base";

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* language_hints: ["en"],

@@ -47,3 +47,3 @@ * enable_speaker_diarization: true

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* translation: { type: "two_way", language_a: "en", language_b: "es" },

@@ -79,3 +79,3 @@ * language_hints: ["en", "es"],

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* translation: { type: "one_way", target_language: "fr" },

@@ -82,0 +82,0 @@ * language_hints: ["en"],

@@ -96,3 +96,3 @@ import { BaseDocumentLoader } from "@langchain/core/document_loaders/base";

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* language_hints: ["en"],

@@ -114,3 +114,3 @@ * enable_speaker_diarization: true

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* translation: { type: "two_way", language_a: "en", language_b: "es" },

@@ -146,3 +146,3 @@ * language_hints: ["en", "es"],

* {
* model: "stt-async-v3",
* model: "stt-async-v4",
* translation: { type: "one_way", target_language: "fr" },

@@ -149,0 +149,0 @@ * language_hints: ["en"],

@@ -1,2 +0,2 @@

export type SonioxTranscriptionModelId = "stt-async-v3" | (string & {});
export type SonioxTranscriptionModelId = "stt-async-v4" | (string & {});
export type SonioxTranslation = {

@@ -3,0 +3,0 @@ type: "one_way";

{
"name": "@soniox/langchain",
"version": "0.1.3",
"version": "0.1.4",
"description": "Soniox integration for LangChain.js",

@@ -5,0 +5,0 @@ "type": "module",

@@ -155,3 +155,3 @@ # Soniox LangChain integration

| -------------------------------- | ---------------------------- | ---------------------------------------- |
| `model` | `SonioxTranscriptionModelId` | Model to use (default: `"stt-async-v3"`) |
| `model` | `SonioxTranscriptionModelId` | Model to use (default: `"stt-async-v4"`) |
| `translation` | `object` | Translation configuration |

@@ -158,0 +158,0 @@ | `language_hints` | `string[]` | Language hints for transcription |