rerank api (#525)

This commit is contained in:
Archer
2023-11-28 21:13:15 +08:00
committed by GitHub
parent a74e1d7166
commit abc1e576b7
3 changed files with 9 additions and 8 deletions

View File

@@ -2,4 +2,4 @@ export type PostReRankProps = {
query: string;
inputs: { id: string; text: string }[];
};
export type PostReRankResponse = { id: string; score: number }[];
export type PostReRankResponse = { id: string; score?: number }[];