Putting together the "R", "A", "G"
Latihan ini adalah bagian dari kursus
End-to-End RAG with Weaviate
Petunjuk latihan
- Re-run the retrieval code from the previous exercise and retrieve the top two semantically similar documents.
- Create a structured prompt that combines the
query_textwith the retrieved texts (retrieved_texts). - Send
combined_contextas a request to the OpenAI chat completions model provided.
Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.
Latihan interaktif praktis
Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.
Mulai berolahraga