Browse Source

add logprobs in AiChoice

visuddhinanda 1 năm trước cách đây
mục cha
commit
6bdfe17de2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      dashboard/src/components/api/ai.ts

+ 1 - 0
dashboard/src/components/api/ai.ts

@@ -16,6 +16,7 @@ export interface AiUsage {
 export interface AiChoice {
   index: number;
   message: AiMessage;
+  logprobs?: string | null; //volcengine
   finish_reason: string;
 }