CommencerCommencez gratuitement

Getting started with LlamaIndex

Cet exercice fait partie du cours

<cours>Building Agentic Workflows with LlamaIndex</cours>
Voir le cours

Instructions de l’exercice

Let's kick off with a quick environment check: call a GPT-4o-mini model through LlamaIndex and store the answer to a trivia question. This confirms your environment is correctly configured before we move on to more advanced agent orchestration.

  • Create an OpenAI LLM.
  • Pass a prompt to the LLM to get the answer.


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.


Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice