Closed spolu closed 1 year ago
we seem to already have a route [wId]/assistants/ (post, get all + assistants/[aI]) => I suggest using https://dust.tt/[wid]/assistants/autocomplete for route
Other topic on what to match (equally simple to implement with like/ilike) :
Agreed with prefix / insensitive
I think it's fine to have one route on top of the [aId]
sub-routes next just supports it.
autocomplete
is fine as well
lastly, following IRL discussion with Henry, no need to go sublter than like / ilike => even if no index, there will be very few rows so this should be fast enough
Let's add an index none the less. The sub-question is: would a normal index handle the case insensitive efficiently or not at all?
Endpoint used to auto-complete agent mentions
URL https://dust.tt/w/[wId]/assistant/agents