Skip to content

functions/list API route #2170

@nathanclevenger

Description

@nathanclevenger

The list function should be exported from the ai-functions package and the functions.do SDK …

functions/list/route.ts should be based on appending to the system prompt to respond only in numbered, markdown ordered lists … and then we should support both streaming and non-streaming uses, where an async iterator can be used to leverage streaming items. and system, prompt, model, and stream are query params

We probably also need to update the API() function in lib/api to support streaming responses

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions