Understanding and configuring search parameters in Artemis Search
Synthetic Dataset Size
num_batches
parameter.Proba Threshold
Top K Threshold
top_k
parameter.YOUR_API_KEY
with your actual Artemis Search API key.filter_query
parameter to filter the search results using the filter columns in the dataset.
Your filter query should be included in the form { filter_query: "YOUR_FILTER_QUERY" }
in the body of your search request.
The filter query you provide may be any valid Pandas query string and assume the ‘python’ engine is used to evaluate the query. Learn more about valid filter queries here.
company_size
with the values small
, medium
, and large
, you could filter the search results to only include search results with the company_size
of ‘large’ by setting the filter_query
parameter to company_size == 'large'
.
Your search body would look like this:
country
which contained the names of countries associated with each search result, you could filter the search results to only include search results with a country
that started with United
by setting the filter_query
parameter to country.str.contains('United', case=False, na=False)
.
Your search body would look like this:
filter_query
parameter.top_k
value and gradually decrease it as you refine your search.num_batches
values to balance between search depth and response time.