Query Interface and Retrieval Evaluation

testingChallengeNovember 25, 2025

Prompt Content

Implement a Python-based query interface that allows users to submit queries (e.g., a protein target ID, a descriptive string of desired drug properties) and retrieve the most similar drug candidates from your Vespa database. Develop a set of evaluation metrics (e.g., MAP, Recall@K) and test queries to objectively assess the quality and speed of your retrieval system. Analyze the results and discuss potential areas for improvement.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations