Skip to main content

suggestedResourcesForAccord

Library resources suggested for an accord, ranked by embedding similarity to the resources already attached to it. Requires the semantic-resource-search feature flag. Resources already on the accord are excluded; an accord with no attached embedded resources returns an empty list (no accord-text vector is synthesized).

suggestedResourcesForAccord(
accordId: String!
first: Int
): [LibraryResource!]!

Arguments

suggestedResourcesForAccord.accordId ● String! non-null scalar

The accord to suggest resources for.

suggestedResourcesForAccord.first ● Int scalar

Maximum number of suggestions to return (defaults to 12, capped at 30).

Type

LibraryResource object

A reusable resource in the workspace's content library that can be linked into accords; its content is versioned through library_resource_version.