- Issue created by @tzura
-
timozura β
committed a71faee4 on 1.0.x
Resolve #3533429 "Api exclusion list"
-
timozura β
committed a71faee4 on 1.0.x
Exclusion list functionality was added recently. Search works fine with the exclusion list.
Looking at the REST response, however, it was noticed that some of the response is missing when the exclusion list results in no valid keywords.
- Create a Vertex AI custom search page.
- Add a keyword to the exclusion list for the search page.
- Enable the REST Resource
- Using a client (Postman), make a request to the endpoint using the excluded keyword.
- The response is missing some information that is normally present.
Even if the keyword is excluded because of the exclusion list, the API should contain keys for all elements of the response. Here is what is missing:
- configuration (a subset of search page configuration associated with the search is in the response)
- tokens (an array of tokens and their replaced values)
- messages (an array of the messages that should appear as a result of the empty search).
Resolve #3533429 "Api exclusion list"