Przeglądaj źródła

feat: add support for embedding dimensions parameter (#242)

Michael Yang 1 tydzień temu
rodzic
commit
be27a947a2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/interfaces.ts

+ 1 - 0
src/interfaces.ts

@@ -160,6 +160,7 @@ export interface EmbedRequest {
   input: string | string[]
   truncate?: boolean
   keep_alive?: string | number // a number (seconds) or a string with a duration unit suffix ("300ms", "1.5h", "2h45m", etc)
+  dimensions?: number
 
   options?: Partial<Options>
 }