The LangChain Hub

·Daniel Griffin·Hypandra·2 min read

The LangChain Hub (announced here; examples here) provides prompts directed at developers integrating LLMs into systems (so not necessarily prompts refined for searching in these public-facing interfaces).

SearchRights
re: a "searchable repository of examples" [@zamfirescu-pereira2023johnny]?

The LangChain Hub does provide a search interface to the prompt examples.

I look for a "searchable repository of examples", drawn from [@zamfirescu-pereira2023johnny], in [SearchRights.org](https://searchrights.org/criteria/searchable-repository-of-examples.html#card).

Added

I do not believe the LangChain Hub was initially searchable. I did not document this as well as I should.

@danielsgriffin via Twitter on Sep 8, 2023

re: a “searchable repository of examples” (Zamfirescu-Pereira et al., 2023)? \@LangChainAI's LangChain Hub does not seem to directly provide a search interface to the prompt examples?

Reference: The screenshot on [blog.langchain.dev/langchain-prompt-hub](https://blog.langchain.dev/langchain-prompt-hub/) shows a search interface on the hub. It is a bit disorienting as the og:image shows the search interface, even on tweets with social share cards from much earlier (and with gifs). The screenshot on [docs.smith.langchain.com/hub/quickstart](https://docs.smith.langchain.com/hub/quickstart) Internet Archive Logo does not show a search interface, while [the Google WebCache from 2023-09-09](https://webcache.googleusercontent.com/search?q=cache:KWG64hdl3qsJ:https://blog.langchain.dev/langchain-prompt-hub/&cd=13&hl=en&ct=clnk&gl=us) Internet Archive Logo) does show a search interface. (It is possible it was only available to select accounts?) The screenshot from [Google Images does not show a search interface](https://www.google.com/imgres?imgurl=https://blog.langchain.dev/content/images/2023/09/image-1.png&tbnid=SLRAZXXdm8znwM&vet=1&imgrefurl=https://blog.langchain.dev/langchain-prompt-hub/&docid=KWG64hdl3qtbTM&w=1184&h=638&source=sh/x/im/m5/1) . The screenshots on a 2023-09-08 article from Cobus Greyling (["LangChain Hub"](https://cobusgreyling.medium.com/langchain-hub-76fdcd0ba9ae) Internet Archive Logo) and a 2023-09-10 article from Sudarshan Koirala (["What Is LangChain Hub"](https://medium.com/@sudarshan-koirala/what-is-langchain-hub-86f6ad085901) Internet Archive Logo do not show a search interface. I noted access to it on 2023-09-12.

@danielsgriffin via Twitter on Sep 10, 2023

✅ searchable repository of examples
Nice to see the update!

I learned here of Mollick's use of "grimoires" [@mollick2023useful]:

As LangChain and the broader ecosystem has evolved, the role of prompting has only become more important to the LLM development process. As Ethan Mollick recently wrote [ . . . ], "now is the time for grimoires." By "grimoires" he means "prompt libraries that encode the expertise of their best practices into forms that anyone can use."

[ . . . ]

Today, polished prompts and the wisdom that comes with it are distributed across the web and all-too-often buried in the crannies of blog posts, Twitter threads, and people's head's. By bringing all tis knowledge together in one easily-navigable place, we think we can accelerate the pace of development and learning together.

To use Mollick's terminology–we're starting with public grimoires today, but we'll be enabling private, company-specific grimoires very soon.