Parcourir la source

Add missing embed response properties (#215)

Pieter Ouwerkerk il y a 3 mois
Parent
commit
b24558558f
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/interfaces.ts

+ 3 - 0
src/interfaces.ts

@@ -198,6 +198,9 @@ export interface ChatResponse {
 export interface EmbedResponse {
   model: string
   embeddings: number[][]
+  total_duration: number
+  load_duration: number
+  prompt_eval_count: number
 }
 
 export interface EmbeddingsResponse {