symposium 2.1.1 → 2.1.3

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.
Files changed (2) hide show
  1. package/Symposium.js +2 -2
  2. package/package.json +1 -1
package/Symposium.js CHANGED
@@ -104,7 +104,7 @@ export default class Symposium {
104
104
  break;
105
105
  }
106
106
 
107
- return this.transcription_model.class.transcribe(file, model, prompt);
107
+ return this.transcription_model.class.transcribe(file, model, this.transcription_model);
108
108
  }
109
109
 
110
110
  static async embed(input, model = null) {
@@ -117,7 +117,7 @@ export default class Symposium {
117
117
  if (!this.embedding_model || this.embedding_model.type !== 'embedding')
118
118
  throw new Error('Specified model is not an embedding model');
119
119
 
120
- return embedding_model.class.embed(input, model);
120
+ return this.embedding_model.class.embed(input, this.embedding_model);
121
121
  }
122
122
 
123
123
  static getExtFromMime(mime) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "2.1.1",
4
+ "version": "2.1.3",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",