MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / reformatFromFuse

Function reformatFromFuse

lib/utils.ts:618–624  ·  view source on GitHub ↗
(
  data: { item: Obj; refIndex: number; score?: number }[],
)

Source from the content-addressed store, hash-verified

616}
617
618export function reformatFromFuse<Obj>(
619 data: { item: Obj; refIndex: number; score?: number }[],
620): Obj[] {
621 return data.map((item) => {
622 return { ...item.item };
623 });
624}
625
626export function logPrompt(prompt: ChatGPTMessage[]): void {
627 console.log(

Callers 2

DashboardFunction · 0.90
LeftHandSearchSidebarFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected