mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
rerank api (#525)
This commit is contained in:
2
packages/global/core/ai/api.d.ts
vendored
2
packages/global/core/ai/api.d.ts
vendored
@@ -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 }[];
|
||||
|
Reference in New Issue
Block a user