This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from langchain.document_loaders import YoutubeLoader | |
from langchain.indexes import VectorstoreIndexCreator | |
loader = YoutubeLoader.from_youtube_url("https://www.youtube.com/watch?v=fLn-WqliEQU&lc=UgyOc6oNr_4-YLGCL2R4AaABAg", add_video_info=False) | |
docs = loader.load() | |
index = VectorstoreIndexCreator() | |
index = index.from_documents(docs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Description | |
Using the window.setTimeout function will allow you to hide retargeting cookies and execute them after 45 seconds. | |
This helps provide higher quality leads/audience. The example below shows Facebook's pixel tracker. | |
It could be used for other pixel tracking services too. | |
Case Study @ http://imscalable.com/blog/case-study-retargeting-done-wrong/ | |
*/ | |
// Facebook Code |