🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 10: Real Estate Listing Bot

AI Engineer

Builds on these lessons

Current Task

Objective

A document loader reads raw source content — text, PDFs, web pages — into LangChain's standard Document objects.

Task: wrap a listing description in a Document with metadata and print its page_content.

index.py
from langchain_core.documents import Document listing = Document( page_content="Spacious 3-bedroom home with a renovated kitchen.", metadata={"price": 450000, "city": "Austin"}, ) print(listing.page_content)

* Hint: Correct characters turn green, incorrect ones turn red.

Live Preview
🖼️

Verify your code to see the preview