Query Interface and Retrieval Evaluation

testingChallenge

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

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