llamaindex
Version:
<p align="center"> <img height="100" width="100" alt="LlamaIndex logo" src="https://ts.llamaindex.ai/square.svg" /> </p> <h1 align="center">LlamaIndex.TS</h1> <h3 align="center"> Data framework for your LLM application. </h3>
14 lines (13 loc) • 436 B
TypeScript
/**
* Top level types to avoid circular dependencies
*/
import type { ToolMetadata } from "@llamaindex/core/llms";
/**
* StructuredOutput is just a combo of the raw output and the parsed output.
*/
export interface StructuredOutput<T> {
rawOutput: string;
parsedOutput: T;
}
export type ToolMetadataOnlyDescription = Pick<ToolMetadata, "description">;
export type UUID = `${string}-${string}-${string}-${string}-${string}`;