Skip to content

Move citation formatting into an agent tool #270

@yangm2

Description

@yangm2

Give the chatbot access to a tool which correctly generates the citation string that is expected by the frontend. The tool should also verify that the generated URL is valid. Optionally, valid/invalid URLs could be cached (memoized) with a time-limit.

The DEFAULT_INSTRUCTIONS should replace citation formatting instructions with a simple instruction to use the tool when a citation is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBot implementation and other backend concernsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions