This documentation is for an older version of GoodData.
Go to the latest version of this article.
ComputeService.
search_ai
search_ai(workspace_id: <nil>, question: <nil>, deep_search: <nil>, limit: <nil>, object_types: <nil>, relevant_score_threshold: <nil>, title_to_descriptor_ratio: <nil>) ->
SearchResult
Search for metadata objects using similarity search.
Parameters
name | type | description |
---|---|---|
workspace_id | workspace identifier | |
question | keyword/sentence input for search | |
deep_search | turn on deep search - if true, content of complex objects will be searched as well | |
limit | maximum number of results to return | |
object_types | list of object types to search for. Enum items: "attribute", "metric", "fact", "label", "date", "dataset", "visualization" and "dashboard" | |
relevant_score_threshold | minimum relevance score threshold for results | |
title_to_descriptor_ratio | ratio of title score to descriptor score |
Returns
type | description |
---|---|
SearchResult | Search results |