Skip to content

render sources and related content as per message item #523

Open
@maifeeulasad

Description

@maifeeulasad

需求动机

Add a feature to the x component that render sources and related content. Having dedicated fields for reference sources and additional resources would be highly valuable, as it allows us to present the origin of the information and any related content that might enhance understanding.

proposed link reference in antd x components

提议的 API 是什么样的?

We will declare something like this to define these references:

export interface ChatReference {
  description?: string;
  title: string;
  url: string;
}

...
And finally refer them in the parameter references?: ChatReference[];

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.xAnt Design X 2.xenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions