AxAIOpenAILogprob
type AxAIOpenAILogprob = object;
Properties
text_offset
text_offset: number[];
token_logprobs
token_logprobs: number[];
tokens
tokens: string[];
top_logprobs
top_logprobs: Map<string, number>;
DSPy for TypeScript. Working with LLMs is complex—they don't always do what you want. DSPy makes it easier to build amazing things with LLMs. Just define your inputs and outputs (signature) and an efficient prompt is auto-generated and used. Connect together various signatures to build complex systems and workflows using LLMs.
type AxAIOpenAILogprob = object;
text_offset: number[];
token_logprobs: number[];
tokens: string[];
top_logprobs: Map<string, number>;