Collections, RAG & Files
Build your own knowledge base with xAI Collections: upload, smart indexing, hybrid search, and advanced RAG patterns.
16 lessons About 1 h 30 min Developer
What you'll learn
- Upload and manage files via the Files API respecting supported formats
- Build an indexed knowledge base with metadata, custom fields, and adapted permissions
- Choose the keyword, semantic, or hybrid search mode based on document nature
- Integrate collections_search and file_search into a RAG pipeline returning its sources
- Evaluate data confidentiality for uploaded data and limits applicable to a collection
Course details
- Who it's for
- Developers, engineers, and integrators looking to leverage Grok via API in their applications.
- Prerequisites
- Ability to read Python and JSON, command line basics. An API key from the xAI console to try the examples.
- Length
- 1 h 30 min · 16 lessons
- Format
- 100% online self-paced course, accessible 24/7 from a browser. Progress saved, resume anytime. Estimated duration: 1 h 30 min.
- Assessment
- Self-assessment based on the Key takeaways concluding each lesson, and direct implementation of examples on your own examples. A final quiz of 5 corrected questions, at the end of the last lesson, validates acquired skills.
- Accessibility
- Course accessible to people with disabilities: text content compatible with screen readers, keyboard navigation, and compliant contrasts. For any adaptation needs, email [email protected].
- Price
- Free
- Recognition
- Certificate of completion issued by Corsen AI, verifiable online.
- Syllabus
- Download the syllabus (PDF)