انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-067-L06

عرض عملي: بحث دلالي في مقالات مركز مساعدة Shop

  • الدرس 6 من 6
  • Mid-level
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

build the semantic and hybrid search endpoint that prepares MID-067-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. Create the help_chunk table and the pgvector extension in a Flyway migration.
  2. Embed 20 articles with the embedding model and insert vectors with the model name and content hash.
  3. Add GET /help/search?q=: embed the query, run the top-5 cosine query.
  4. Planned mistake: the table was filled with one embedding model and the query embedded with another; results look random. Fix: compare the model column and re-embed one side.
  5. Add the HNSW index; measure recall against the exact query and record latency and index size.
  6. Add mode=hybrid with full-text plus RRF and compare on a few questions.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.