Skip to main content

Welcome to LangChainGo

gopher

LangchainGo is the Go Programming Language port/fork of LangChain.

LangChain is a framework for developing applications powered by language models. We believe that the most powerful and differentiated applications will not only call out to a language model via an API, but will also:

  • Be data-aware: connect a language model to other sources of data
  • Be agentic: allow a language model to interact with its environment

The LangChain framework is designed with the above principles in mind.

Getting Started

Note: These docs are for LangChainGo. For documentation on the Python version, head here.

Checkout the guide below for a walkthrough of how to get started using LangChain to create a Language Model application.

Components

There are several main modules that LangChain provides support for. For each module we provide some examples to get started and get familiar with some of the concepts.

These modules are, in increasing order of complexity:

  • Models: This includes integrations with a variety of LLMs, Chat Models and Embeddings models.

  • Prompts: This includes prompt Templates and functionality to work with prompts like Output Parsers and Example Selectors

API Reference

Here you can find the API reference for all of the modules in LangChain, as well as full documentation for all exported classes and functions.

Additional Resources

Additional collection of resources we think may be useful as you develop your application!

  • LangChainHub: The LangChainHub is a place to share and explore other prompts, chains, and agents.

  • Discord: Join us on our Discord to discuss all things LangChain!

  • Production Support: As you move your LangChains into production, we'd love to offer more comprehensive support. Please fill out this form and we'll set up a dedicated support Slack channel.