Vectorize the website

You can vectorize a website doing the following:

import webtranspose as webt

chatbot = webt.Chatbot([
    'https://en.wikipedia.org/wiki/Apple_Inc.', # Put in a website
    'https://youtu.be/ypW7hvOQFc8?si=ZkDrxZKtgt1y_9eT', # Put in YouTube video
    'https://www.cs.cmu.edu/~crary/317-f18/recitations/g4ip.pdf' # Put in a PDF URL
])

Query the Vector Database

results = chatbot.query_database('What is the name of the CEO of Apple?')

Retrieve your embeddings later

chatbot_id = chatbot.chatbot_id

retrieved_chatbot = webt.get_chatbot(chatbot_id)