{ "cells": [ { "cell_type": "code", "execution_count": null, "id": "2b931208", "metadata": {}, "outputs": [], "source": [ "from langchain_community.document_loaders import TextLoader\n", "from langchain_text_splitters import CharacterTextSplitter\n", "from langchain_chroma import Chroma" ] }, { "cell_type": "code", "execution_count": 9, "id": "1adaad97", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | isbn13 | \n", "isbn10 | \n", "title | \n", "authors | \n", "categories | \n", "thumbnail | \n", "description | \n", "published_year | \n", "average_rating | \n", "num_pages | \n", "ratings_count | \n", "agg_of_book | \n", "title_and_subtitle | \n", "tagged_description | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "9780002005883 | \n", "0002005883 | \n", "Gilead | \n", "Marilynne Robinson | \n", "Fiction | \n", "http://books.google.com/books/content?id=KQZCP... | \n", "A NOVEL THAT READERS and critics have been eag... | \n", "2004.0 | \n", "3.85 | \n", "247.0 | \n", "361.0 | \n", "21.0 | \n", "Gilead | \n", "9780002005883 A NOVEL THAT READERS and critics... | \n", "
1 | \n", "9780002261982 | \n", "0002261987 | \n", "Spider's Web | \n", "Charles Osborne;Agatha Christie | \n", "Detective and mystery stories | \n", "http://books.google.com/books/content?id=gA5GP... | \n", "A new 'Christie for Christmas' -- a full-lengt... | \n", "2000.0 | \n", "3.83 | \n", "241.0 | \n", "5164.0 | \n", "25.0 | \n", "Spider's Web: A Novel | \n", "9780002261982 A new 'Christie for Christmas' -... | \n", "
2 | \n", "9780006178736 | \n", "0006178731 | \n", "Rage of angels | \n", "Sidney Sheldon | \n", "Fiction | \n", "http://books.google.com/books/content?id=FKo2T... | \n", "A memorable, mesmerizing heroine Jennifer -- b... | \n", "1993.0 | \n", "3.93 | \n", "512.0 | \n", "29532.0 | \n", "32.0 | \n", "Rage of angels | \n", "9780006178736 A memorable, mesmerizing heroine... | \n", "
3 | \n", "9780006280897 | \n", "0006280897 | \n", "The Four Loves | \n", "Clive Staples Lewis | \n", "Christian life | \n", "http://books.google.com/books/content?id=XhQ5X... | \n", "Lewis' work on the nature of love divides love... | \n", "2002.0 | \n", "4.15 | \n", "170.0 | \n", "33684.0 | \n", "23.0 | \n", "The Four Loves | \n", "9780006280897 Lewis' work on the nature of lov... | \n", "
4 | \n", "9780006280934 | \n", "0006280935 | \n", "The Problem of Pain | \n", "Clive Staples Lewis | \n", "Christian life | \n", "http://books.google.com/books/content?id=Kk-uV... | \n", "\"In The Problem of Pain, C.S. Lewis, one of th... | \n", "2002.0 | \n", "4.09 | \n", "176.0 | \n", "37569.0 | \n", "23.0 | \n", "The Problem of Pain | \n", "9780006280934 \"In The Problem of Pain, C.S. Le... | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
5192 | \n", "9788172235222 | \n", "8172235224 | \n", "Mistaken Identity | \n", "Nayantara Sahgal | \n", "Indic fiction (English) | \n", "http://books.google.com/books/content?id=q-tKP... | \n", "On A Train Journey Home To North India After L... | \n", "2003.0 | \n", "2.93 | \n", "324.0 | \n", "0.0 | \n", "22.0 | \n", "Mistaken Identity | \n", "9788172235222 On A Train Journey Home To North... | \n", "
5193 | \n", "9788173031014 | \n", "8173031010 | \n", "Journey to the East | \n", "Hermann Hesse | \n", "Adventure stories | \n", "http://books.google.com/books/content?id=rq6JP... | \n", "This book tells the tale of a man who goes on ... | \n", "2002.0 | \n", "3.70 | \n", "175.0 | \n", "24.0 | \n", "23.0 | \n", "Journey to the East | \n", "9788173031014 This book tells the tale of a ma... | \n", "
5194 | \n", "9788179921623 | \n", "817992162X | \n", "The Monk Who Sold His Ferrari: A Fable About F... | \n", "Robin Sharma | \n", "Health & Fitness | \n", "http://books.google.com/books/content?id=c_7mf... | \n", "Wisdom to Create a Life of Passion, Purpose, a... | \n", "2003.0 | \n", "3.82 | \n", "198.0 | \n", "1568.0 | \n", "22.0 | \n", "The Monk Who Sold His Ferrari: A Fable About F... | \n", "9788179921623 Wisdom to Create a Life of Passi... | \n", "
5195 | \n", "9788185300535 | \n", "8185300534 | \n", "I Am that | \n", "Sri Nisargadatta Maharaj;Sudhakar S. Dikshit | \n", "Philosophy | \n", "http://books.google.com/books/content?id=Fv_JP... | \n", "This collection of the timeless teachings of o... | \n", "1999.0 | \n", "4.51 | \n", "531.0 | \n", "104.0 | \n", "26.0 | \n", "I Am that: Talks with Sri Nisargadatta Maharaj | \n", "9788185300535 This collection of the timeless ... | \n", "
5196 | \n", "9789027712059 | \n", "9027712050 | \n", "The Berlin Phenomenology | \n", "Georg Wilhelm Friedrich Hegel | \n", "History | \n", "http://books.google.com/books/content?id=Vy7Sk... | \n", "Since the three volume edition ofHegel's Philo... | \n", "1981.0 | \n", "0.00 | \n", "210.0 | \n", "0.0 | \n", "44.0 | \n", "The Berlin Phenomenology | \n", "9789027712059 Since the three volume edition o... | \n", "
5197 rows × 14 columns
\n", "\n", " | isbn13 | \n", "isbn10 | \n", "title | \n", "authors | \n", "categories | \n", "thumbnail | \n", "description | \n", "published_year | \n", "average_rating | \n", "num_pages | \n", "ratings_count | \n", "agg_of_book | \n", "title_and_subtitle | \n", "tagged_description | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4264 | \n", "9780941807555 | \n", "094180755X | \n", "The Little Big Book for God's Children | \n", "Lena Tabori;Alice Wong | \n", "Religion | \n", "http://books.google.com/books/content?id=s2PfT... | \n", "THE LITTLE BIG BOOK FOR GOD'S CHILDREN is a wo... | \n", "2001.0 | \n", "4.88 | \n", "352.0 | \n", "8.0 | \n", "24.0 | \n", "The Little Big Book for God's Children | \n", "9780941807555 THE LITTLE BIG BOOK FOR GOD'S CH... | \n", "
\n", " | isbn13 | \n", "isbn10 | \n", "title | \n", "authors | \n", "categories | \n", "thumbnail | \n", "description | \n", "published_year | \n", "average_rating | \n", "num_pages | \n", "ratings_count | \n", "agg_of_book | \n", "title_and_subtitle | \n", "tagged_description | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | \n", "9780007105045 | \n", "0007105045 | \n", "Tree and Leaf | \n", "John Ronald Reuel Tolkien | \n", "Literary Collections | \n", "http://books.google.com/books/content?id=aPb_A... | \n", "\"The two works 'On fairy-stories' and 'Leaf by... | \n", "2001.0 | \n", "4.09 | \n", "176.0 | \n", "2245.0 | \n", "24.0 | \n", "Tree and Leaf: The Homecoming of Beorhtnoth : ... | \n", "9780007105045 \"The two works 'On fairy-stories... | \n", "
267 | \n", "9780060882600 | \n", "0060882603 | \n", "The Annotated Charlotte's Web | \n", "E. B. White | \n", "Juvenile Nonfiction | \n", "http://books.google.com/books/content?id=vaYYH... | \n", "Charlotte's Web, one of America's best-loved c... | \n", "2006.0 | \n", "4.16 | \n", "320.0 | \n", "41.0 | \n", "19.0 | \n", "The Annotated Charlotte's Web | \n", "9780060882600 Charlotte's Web, one of America'... | \n", "
324 | \n", "9780060959036 | \n", "0060959037 | \n", "Prodigal Summer | \n", "Barbara Kingsolver | \n", "Fiction | \n", "http://books.google.com/books/content?id=06IwG... | \n", "Barbara Kingsolver's fifth novel is a hymn to ... | \n", "2001.0 | \n", "4.00 | \n", "444.0 | \n", "85440.0 | \n", "24.0 | \n", "Prodigal Summer: A Novel | \n", "9780060959036 Barbara Kingsolver's fifth novel... | \n", "
397 | \n", "9780062512796 | \n", "006251279X | \n", "The Pilgrimage | \n", "Paulo Coelho;Alan R. Clarke | \n", "Fiction | \n", "http://books.google.com/books/content?id=atdJc... | \n", "Previously published as The Diary of a Magus, ... | \n", "1995.0 | \n", "3.65 | \n", "272.0 | \n", "878.0 | \n", "30.0 | \n", "The Pilgrimage | \n", "9780062512796 Previously published as The Diar... | \n", "
416 | \n", "9780064406925 | \n", "006440692X | \n", "Winter on the Farm | \n", "Laura Ingalls Wilder | \n", "Juvenile Fiction | \n", "http://books.google.com/books/content?id=IvlKH... | \n", "The Little House books tell the story of a lit... | \n", "1997.0 | \n", "4.13 | \n", "32.0 | \n", "400.0 | \n", "28.0 | \n", "Winter on the Farm | \n", "9780064406925 The Little House books tell the ... | \n", "
429 | \n", "9780064434980 | \n", "0064434982 | \n", "The Deer in the Wood | \n", "Laura Ingalls Wilder | \n", "Juvenile Fiction | \n", "http://books.google.com/books/content?id=V7YDW... | \n", "Even the youngest child can enjoy a special ad... | \n", "1999.0 | \n", "4.17 | \n", "32.0 | \n", "302.0 | \n", "26.0 | \n", "The Deer in the Wood | \n", "9780064434980 Even the youngest child can enjo... | \n", "
434 | \n", "9780064462044 | \n", "0064462048 | \n", "My Little House Crafts Book | \n", "Carolyn Strom Collins | \n", "Juvenile Nonfiction | \n", "http://books.google.com/books/content?id=lTzrs... | \n", "Make the same pioneer crafts that Laura did! I... | \n", "1998.0 | \n", "4.05 | \n", "64.0 | \n", "56.0 | \n", "27.0 | \n", "My Little House Crafts Book: 18 Projects from ... | \n", "9780064462044 Make the same pioneer crafts tha... | \n", "
435 | \n", "9780064462341 | \n", "006446234X | \n", "Pioneer Girl | \n", "William Anderson | \n", "Juvenile Nonfiction | \n", "http://books.google.com/books/content?id=Sj4UD... | \n", "The pioneer spirit lives on... Readers around ... | \n", "2000.0 | \n", "4.15 | \n", "32.0 | \n", "414.0 | \n", "25.0 | \n", "Pioneer Girl: The Story of Laura Ingalls Wilder | \n", "9780064462341 The pioneer spirit lives on... R... | \n", "
440 | \n", "9780066238500 | \n", "0066238501 | \n", "The Chronicles of Narnia (adult) | \n", "C. S. Lewis | \n", "Fiction | \n", "http://books.google.com/books/content?id=3VGkK... | \n", "Journeys to the end of the world, fantastic cr... | \n", "2001.0 | \n", "4.26 | \n", "767.0 | \n", "425445.0 | \n", "24.0 | \n", "The Chronicles of Narnia (adult) | \n", "9780066238500 Journeys to the end of the world... | \n", "
442 | \n", "9780067575208 | \n", "006757520X | \n", "The Sense of Wonder | \n", "Rachel Carson | \n", "Nature | \n", "http://books.google.com/books/content?id=Zee5S... | \n", "First published more than three decades ago, t... | \n", "1998.0 | \n", "4.39 | \n", "112.0 | \n", "1160.0 | \n", "27.0 | \n", "The Sense of Wonder | \n", "9780067575208 First published more than three ... | \n", "