CommencerCommencez gratuitement

Turning our pipeline into a tool for agents

Cet exercice fait partie du cours

<cours>Building AI Agents with Haystack</cours>
Voir le cours

Instructions de l’exercice

Your healthcare agent is almost complete! Now you’ll connect its final skill ,a structured data lookup from a patient database, by wrapping your SQL pipeline as a tool and giving the agent access to it.

  • Set the get_patient_information function as a tool.
  • Add the tool to the agent’s tool list so it can reason with patient data.


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