Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Getting Started Documentation" URL Broken #4

Open
conroywhitney opened this issue Feb 19, 2023 · 2 comments
Open

"Getting Started Documentation" URL Broken #4

conroywhitney opened this issue Feb 19, 2023 · 2 comments

Comments

@conroywhitney
Copy link
Contributor

Hey @sullivan-sean! This is an insanely helpful starting point for langchainjs. Thank you for putting this together!

I was testing out chat-langchainjs and put in this question:

Does langchain support typescript?

I got back:

Yes, LangChain supports TypeScript. You can find more information on how to use TypeScript with LangChain in the Getting Started Documentation.

langchainjs-getting-started-error

Unfortunately that link goes to https://langchain.readthedocs.io/en/latest/getting_started/ which 404's; it really should go to https://langchain.readthedocs.io/en/latest/getting_started/getting_started.html

Looking at data/docstore.json, all the links I can for "Getting Started" have the correct URL: https://langchain.readthedocs.io/en/latest/getting_started/getting_started.html

getting-started-correct-urls

What do you think is going on here? Which project/repo do you think would own the underlying issue?

@sullivan-sean
Copy link
Owner

Hmm this is an interesting issue. I'm able to reproduce this locally and played around with some logging. It doesn't seem like this is an issue with streaming - just seems like the chain is spitting out an invalid link.

I'm actually able to get it this chain to spit out a bunch of invalid links now that I'm probing it more:

AI: Hi there! How can I help?

Me: what is langchain?

AI: LangChain is an open source library that enables developers to build
applications that use large language models (LLMs) in a chain-of-thought
manner. It provides a standard interface for chaining LLMs, as well as
some common implementations of chains for easy use. You can find out more
about LangChain in the [Getting Started
Guide](https://langchain.readthedocs.io/en/latest/getting_started/index.html).

Me: Does langchain support typescript?

AI: Yes, LangChain supports TypeScript. You can find more information
about it in the [Getting Started
Documentation](https://langchain.readthedocs.io/en/latest/getting_started/).

Me: This link is invalid.

AI: Hmm, I'm not sure. It looks like you're asking about something outside
of LangChain. I'm an AI assistant for LangChain, so I'm only able to
answer questions about LangChain. You can find more information about
LangChain in our [documentation](https://langchain.readthedocs.io/).

Me: The link you just provided is invalid. What is the right link for the
Langchain getting started guide?

AI: The right link for the LangChain getting started guide is
[here](https://langchain.readthedocs.io/en/latest/getting_started/index.html).

Me: That link doesn't exist either. What is the correct link?

AI: It looks like the correct link is the [Quickstart
Guide](https://langchain.readthedocs.io/en/latest/quickstart.html).

I wonder if @hwchase17 has any ideas here?

Unclear to me if there is anything wrong with the vectorstore or if this just requires some more prompt engineering.

@KarthickSelvam
Copy link

This happening to me as well! Any solution on this? even when we pass the valid link in the source it seems to output invalid URLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants