AI 工程编码

题集来源:AMIT SHEKHAR(amitshekhariitbhu)收录项目:ai-engineering-interview-questions查看原题集

题目目录

32 道原题
  1. Implement a retry mechanism with exponential backoff for LLM API calls.

    原题
  2. Write a function calling (tool use) handler for an LLM API.

    原题
  3. Implement a simple re-ranker for search results.

    原题
  4. Build a basic document parser that extracts text from PDFs and splits it into chunks.

    原题
  5. Implement cosine similarity, dot product, and Euclidean distance functions from scratch.

    原题
  6. Write code to implement token counting and context window management.

    原题
  7. Build a simple prompt versioning system.

    原题
  8. Implement a caching layer for LLM responses.

    原题
  9. Implement semantic caching for LLM queries (cache responses for semantically similar queries).

    原题
  10. Write code to detect prompt injection attempts in user inputs.

    原题