Replies: 4 comments 1 reply
-
from langchain.document_loaders import WebBaseLoader
loader = WebBaseLoader("https://python.langchain.com/en/latest/")
langchain_index = VectorstoreIndexCreator().from_loaders([loader])
query = "what default models are being used and how can I override them?"
langchain_index.query_with_sources(query)
|
Beta Was this translation helpful? Give feedback.
-
query = "how can I get query_with_sources to give me finer granularity into the segment of text the answer comes from?"
langchain_index.query_with_sources(query)
|
Beta Was this translation helpful? Give feedback.
-
so it seems like what I would want to do would involve combining the approach described here https://python.langchain.com/en/latest/modules/chains/index_examples/vector_db_qa_with_sources.html with the web document loader and some additional changes so that rather than sources being the the indices of the chunks, but the actual text itself ... |
Beta Was this translation helpful? Give feedback.
-
hmm, okay so there's https://github.com/hwchase17/chat-langchain but seems to be broken in various ways ... |
Beta Was this translation helpful? Give feedback.
-
I want a queryable version of the langchain docs that I can ask things like:
and just other random stuff. I think I'm already spoiled by GPT4 being able to ask about systems without having to plough through docs. :-)
Given all the ask questions of text, is someone not already running a langchain bot that can answer questions about langchain?
Or is that just trivial two or three liner in a notebook? :-)
Beta Was this translation helpful? Give feedback.
All reactions