Palantir AI Engineer Associate · Free practice question 5 of 12
KNN filters in Workshop object sets
Without writing code, a builder at Quarrington Museum wants a Workshop page where staff type a description and see the most similar Artifact objects, using an existing vector property. Which approach is documented?
- A.Add a K-nearest-neighbors filter on the vector property to an object set variable fed by text input
- B.Ask AIP Assist to search the Artifact object type and paste its answers into a Markdown widget
- C.Create a Pipeline Builder job that re-embeds every artifact each time a staff member types a query
- D.Sort the Artifact table alphabetically and ask staff to scan titles that resemble the description
Show answer and explanation
Correct answer: A. Add a K-nearest-neighbors filter on the vector property to an object set variable fed by text input
Why: Palantir's semantic search tutorial shows a no-code Workshop pattern: an object set variable with a K-nearest-neighbors filter on the embedding property, connected to a text input, displayed in an object table; Workshop KNN object sets accept K from 1 to 100. Alphabetical sorting is not similarity search, re-embedding the catalog per query is wasteful, and AIP Assist does not search your objects.
More free Palantir AI Engineer Associate questions
- Branches that return Ontology edits
- Reusing existing functions inside Logic
- Saving versus publishing a chatbot
- Upgrading AIP Threads to a chatbot
- Legacy semantic search tool replacement
- Generating embeddings in Pipeline Builder
- Permissions and costs of LLM pipeline nodes
- Ran successfully status in AIP Evals
- Deleted objects and removal conditions
- Event retry limits and fallback timing
- Enabling experimental models