Langchain, Llm, Generative Ai Tools, Large Language Models, Llmops.
embedding=OpenAIEmbeddings(), text_splitter=CharacterTextSplitter(chunk_size=1000, chunk_overlap=0) ) index = index_creator.from_loaders([loader]) query = "What was the reason he lost his lamp? And what was gotten in exchange?" index.query(query) # The reason he lost his lamp was that the thief was