Aan de slagGa gratis aan de slag

Putting together the "R", "A", "G"

Deze oefening maakt deel uit van de cursus

End-to-End RAG with Weaviate

Cursus bekijken

Oefeninstructies

  • 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_text with the retrieved texts (retrieved_texts).
  • Send combined_context as 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.


Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen