Hacker GitHub

← All repos

langchain-ai/langchain

View on GitHub ↗ ★ 148,875 Python

The agent engineering platform.

69 mentions on Hacker News by 61 people: 19 stories, 50 comments · first 2022-11-06 · latest 2026-04-02

Mentions per year 69 mentions · busiest year 2023 (51)
20082026
  1. …"078-05-1120" can split across chunks, so regex won't catch it without the full buffer. Context: https://github.com/langchain-ai/langchain/issues/35011 Source: https://github.com/Acacian/aegis
  2. Yeah. Even patch version upgrade from 3.12.3 to 3.12.4 broke a lot of packages. https://github.com/langchain-ai/langchain/issues/22692
  3. …Pydantic Agents: https://github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: https://github.com/langchain-ai/langchain/blob/4d1d726e61ed5... LangGraph: https://github.com/langchain-ai/langgraph/blob/24f7d7c4399e2...
  4. …//github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: demonstrates the loop structure: https://github.com/langchain-ai/langchain/blob/4d1d726e61ed5... If all the hype has been confusing, this guide shows how they actually…
  5. This might help you: https://github.com/langchain-ai/langchain/blob/master/cookbo...
  6. …magentic [2] (package I've created, narrower in scope). [0] https://github.com/stanfordnlp/dspy [1] https://github.com/langchain-ai/langchain [2] https://github.com/jackmpcollins/magentic
  7. …pull in your documents, chunk them, and store them for RAG. See here for a good example notebook: https://github.com/langchain-ai/langchain/blob/master/cookbo...
  8. …against RAPTOR, which does summarisation and clustering. https://github.com/profintegra/raptor-rag https://github.com/langchain-ai/langchain/blob/master/cookbo...
  9. …as a tool for Dosu https://dosu.dev/ to help it navigate and modify a codebase on issues like this https://github.com/langchain-ai/langchain/issues/8263#issuec...
  10. …errors - which makes me skeptical that this prompt has been optimized or tested. Fixed in https://github.com/langchain-ai/langchain/commit/7c6009b76f0...
    comment by david_allison · 2024-02-15 · in Show me the prompt
  11. …no standard format, and the popular ones are essentually inefficient bespoke system prompts: https://github.com/langchain-ai/langchain/blob/master/libs/l...
    comment by minimaxir · 2024-02-08 · in OpenAI compatibility
  12. …prompt injections, but possibly more complex ones) Here's one example I found with a quick search: https://github.com/langchain-ai/langchain/issues/5872
  13. It looks like the two instances I was thinking of have been fixed: https://github.com/langchain-ai/langchain/blob/master/libs/l... https://github.com/langchain-ai/langchain/blob/master/libs/l...
    comment by rahimnathwani · 2023-11-28 · in Agency: Pure Go LangChain Alternative
  14. > it's all based on old GPT-2/3 models Are you sure? There are examples of using mistral eg. https://github.com/langchain-ai/langchain/blob/master/templa... This is exactly what I’m talking about. How can you say that when there is…
  15. …the cost of implementing those parts themselves might be. I personally think these templates (like https://github.com/langchain-ai/langchain/blob/master/templa... ) don’t offer any meaningful value, lack documentation and context and fail…
  16. …| Full Time Maintaining you're code should be easier than writing it. Checkout Dosu in action: https://github.com/langchain-ai/langchain/issues/11371#issue... https://github.com/run-llama/llama_index/issues/7684#issueco...…
    comment by devstein · 2023-11-01 · in Ask HN: Who is hiring? (November 2023)
  17. …for reference: https://arxiv.org/abs/2210.03629 Notice how the prompt used in Langchain (python) https://github.com/langchain-ai/langchain/blob/d21a494a27639... Is the same as it is in Langchain.rb (ruby)…
  18. …notes and the garbage fire of unrelated nonsense getting added and got to skip even installing it. https://github.com/hwchase17/langchain/releases At this point Langchain is almost required to accept any PR. They raised money, and now…
    comment by BoorishBears · 2023-07-15 · in The Problem with LangChain
  19. …there though, I think langchain is expecting "Human:" and "AI:", but Claude uses "Assistant:". https://github.com/hwchase17/langchain/issues/2638
    comment by politelemon · 2023-07-14 · in Claude 2 Internal API Client and CLI
  20. …But sure, the main insight I remember is this, take a look at their MULTI_PROMPT_ROUTER_TEMPLATE: https://github.com/hwchase17/langchain/blob/560c4dfc98287da1... It's a lot of instructions for an LLM, they seem to forget an LLM is an…
    comment by rchaves · 2023-07-10 · in Langchain Is Pointless
  21. Like this? https://github.com/hwchase17/langchain/blob/master/langchain...
    comment by neuronexmachina · 2023-06-15 · in Native JSON Output from GPT-4
  22. Langchain added support for `function_call` args yesterday: * https://github.com/hwchase17/langchain/pull/6099/files * https://github.com/hwchase17/langchain/issues/6104 IMHO, this should make Langchain much easier and less chaotic to use.
    comment by neuronexmachina · 2023-06-14 · in Native JSON Output from GPT-4
  23. …In this case it appears to be using RetrievalQA from LangChain, which I think is this prompt here: https://github.com/hwchase17/langchain/blob/v0.0.176/langcha... Use the following pieces of context to answer the question at the end. If…
    comment by simonw · 2023-05-21 · in PrivateGPT
  24. …with this, GPT-4 support with it‘s larger context size was not there yet. I have landed https://github.com/hwchase17/langchain/pull/1778 , but I never wound up submitting another, yet similar patch (to llama_index? Don‘t remember). Make…
  25. …[2]: https://www.amazon.com/Six-Thinking-Hats-Edward-Bono/dp/0316... [3]: https://github.com/hwchase17/langchain
  26. …fast; I remember we started to help out with our team after we saw the first Weaviate pull request https://github.com/hwchase17/langchain/pull/261
    comment by bobvanluijt · 2023-04-05 · in LangChain Announces 10M Seed Round
  27. …you qualify a "real goal"? [1] https://www.neelnanda.io/mechanistic-interpretability/othell... [2] https://github.com/hwchase17/langchain
    comment by FeepingCreature · 2023-04-04 · in Saying Goodbye to GitHub
  28. Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
  29. …an API to get their performance history in the last 6 months. - Compare. - Return the answer. [0] https://github.com/hwchase17/langchain
    comment by Oras · 2023-04-02 · in Show HN: Prompt Engineering Jobs
  30. …and get a summary of each page. Then embed a site map in your system prompt and use langchain ( https://github.com/hwchase17/langchain ) to allow GPT to query for a specific page's summary. - The point of this isn't to say that's how OP…
  31. LLMs certainly can “will” and “do things” when provided with the right interface like LangChain: https://github.com/hwchase17/langchain See also the ARC paper where the model was capable of recruiting and convincing a TaskRabbit worker to…
    comment by joefourier · 2023-03-30 · in Pause Giant AI Experiments: An Open Letter
  32. https://github.com/hwchase17/langchain/tree/master/langchain... Model would probably take that description and write python code to compute the answer.
  33. Prompt engineering is more prompt chaining which is actively being researched so it is a thing. https://github.com/hwchase17/langchain
  34. …integrate with vector db's + ChatGPT Retrieval Plugin - Submitted a Retrieval PR to langchain here: https://github.com/hwchase17/langchain/pull/2014 - would love to explore further integrations as a plugin in any outer agent system
    comment by freezed88 · 2023-03-27 · in Retrieval in LangChain
  35. Maybe this would make more sense if integrated into something like LangChain ( https://github.com/hwchase17/langchain ).
  36. This is the "Composability" concept being pushed by the people behind LangChain. https://github.com/hwchase17/langchain
    comment by heliophobicdude · 2023-03-23 · in ChatGPT can now call Wolfram Alpha
  37. Agree, will make the landing page better. Would recommend checking out this LangChain notebook: https://github.com/hwchase17/langchain/blob/master/docs/modu...
    comment by mikeknoop · 2023-03-22 · in Show HN: Zapier's first API
  38. …see the following repos for tools in this area: https://github.com/jerryjliu/llama_index and/or https://github.com/hwchase17/langchain
  39. …limitation and work with even larger codebases like https://github.com/jerryjliu/llama_index and https://github.com/hwchase17/langchain .
    comment by int_is_compress · 2023-03-14 · in GPT4 is up to 6 times more expensive than GPT3.5
  40. …approach. It comes with constructs for working memory, factual lookup / calculation agents, etc. https://github.com/hwchase17/langchain The general (non-technical) guideline is that the LLMs can "answer" anything you just gave them the…
  41. I think you mean here: https://github.com/hwchase17/langchain/blob/master/langchain...
    comment by LastTrain · 2023-03-10 · in Visual ChatGPT
  42. …m/microsoft/visual-chatgpt/blob/main/visual... With that of the LangChain ReAct conversational agent: https://github.com/hwchase17/langchain/blob/master/langchain... Also it seems appropriate to cite the original ReAct paper (from Google…
    comment by iandanforth · 2023-03-10 · in Visual ChatGPT
  43. Hadn't heard of langchain, here's a link: https://github.com/hwchase17/langchain
  44. …- https://platform.openai.com/docs/tutorials [2] - https://github.com/openai/openai-cookbook [3] - https://github.com/hwchase17/langchain
    comment by mmaia · 2023-02-13 · in CustomGPT
  45. …I’m sure you could pretty easily add a way for it to communicate with a human expert, too. [0]: https://github.com/hwchase17/langchain
    comment by HellsMaddy · 2023-02-09 · in A GPT in 60 Lines of NumPy
  46. Langchain has been a good project in the area: https://github.com/hwchase17/langchain
  47. https://github.com/hwchase17/langchain Building applications with LLMs through composability
  48. …on top of GPT-3 to answer questions specifically from that database. PS: not tried myself. [1] https://github.com/hwchase17/langchain
    comment by mandliya · 2023-01-16 · in GPT-3 is the best journal I’ve used
  49. …NOT using it like an index, and feeding each document as part of the context into the LLM. [1] https://github.com/hwchase17/langchain
    comment by localhost · 2022-12-30 · in 2022 Letter
  50. Libraries such as https://github.com/hwchase17/langchain allow for easy programmatic pipelines of GPT "programs". So you could imagine taking a few hundred of these programs written by humans for various tasks, as are sure to come into…
    comment by gamegoblin · 2022-12-10 · in Talking About Large Language Models