x icon indicating copy to clipboard operation
x copied to clipboard

render sources and related content as per message item

Open maifeeulasad opened this issue 10 months ago • 0 comments

需求动机

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[];

maifeeulasad avatar Feb 08 '25 09:02 maifeeulasad