title: 'search'
sidebar_label: 'search'
pagination_prev: null
pagination_next: null
Performs embeddings-based searches across search configured datasets. Note: Search requires the ai feature to be installed.
Usage
spice search [query] [flags]
spice search [query] [flags]
query - a search query
Flags
--cloud Use a Spice Cloud instance for search. Requires --api-key.
--endpoint <endpoint> Specifies the remote Spice instance HTTP endpoint (e.g., http://localhost:8090).
--limit Limit number of search results.
--model Model to use for search.
--http-endpoint <endpoint> (Deprecated) HTTP endpoint for search (default: http://localhost:8090).
Examples
>>> spice search --limit 2
>>> spice search --limit 2
Remote and Cloud Examples
# Search with Spice Cloud
spice search --cloud --api-key <your-api-key>
# Search with a remote spiced instance
spice search --endpoint http://my-remote-host:8090
# Search with Spice Cloud
spice search --cloud --api-key <your-api-key>
# Search with a remote spiced instance
spice search --endpoint http://my-remote-host:8090
search> artificial intelligence
Rank 1, Score: 20.6, Datasets [pdf]
Undergraduate Texts in Mathematics Editors: F. W. Gehring P. R.
Halmos ·
Advisory Board: C. DePrima
I. Herstein J. Kiefer W. LeVeque Kai Lai Chung
Elementary Probability
Theory with Stochastic Processes Springer Science+Business Media, LLC
...
Rank 2, Score: 17.8, Datasets [pdf]
Forecasting at Scale Sean J. Taylor y Facebook, Menlo Park, California, United States sjt@fb.com and Benjamin Letham y Facebook, Menlo Park, California, United States bletham@fb.com Abstract Forecasting is a common data science...
search> artificial intelligence
Rank 1, Score: 20.6, Datasets [pdf]
Undergraduate Texts in Mathematics Editors: F. W. Gehring P. R.
Halmos ·
Advisory Board: C. DePrima
I. Herstein J. Kiefer W. LeVeque Kai Lai Chung
Elementary Probability
Theory with Stochastic Processes Springer Science+Business Media, LLC
...
Rank 2, Score: 17.8, Datasets [pdf]
Forecasting at Scale Sean J. Taylor y Facebook, Menlo Park, California, United States sjt@fb.com and Benjamin Letham y Facebook, Menlo Park, California, United States bletham@fb.com Abstract Forecasting is a common data science...
Additional Example
>>> spice search --model gpt-3 --limit 1
>>> spice search --model gpt-3 --limit 1
search> machine learning
Rank 1, Score: 25.4, Datasets [pdf]
Machine Learning Yearning by Andrew Ng
Machine Learning Yearning is a technical book by Andrew Ng that provides practical advice on how to structure machine learning projects.
...
search> machine learning
Rank 1, Score: 25.4, Datasets [pdf]
Machine Learning Yearning by Andrew Ng
Machine Learning Yearning is a technical book by Andrew Ng that provides practical advice on how to structure machine learning projects.
...