Packages
langchain
0.1.7
0.9.2
0.9.1
0.9.0
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.4.0-rc.3
0.4.0-rc.2
0.4.0-rc.1
0.4.0-rc.0
0.3.3
0.3.2
0.3.1
0.3.0
0.3.0-rc.2
0.3.0-rc.1
0.3.0-rc.0
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Elixir implementation of a LangChain style framework that lets Elixir projects integrate with and leverage LLMs.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule LangChain.MixProject do
use Mix.Project
@version "0.1.7"
def project do
[
app: :langchain,
version: @version,
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
test_options: [docs: true],
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: &docs/0,
name: "LangChain",
homepage_url: "https://github.com/brainlid/langchain",
description: """
Elixir implementation of a LangChain style framework.
"""
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto, "~> 3.10 or ~> 3.11"},
{:gettext, "~> 0.20"},
{:req, "~> 0.4.8"},
{:abacus, "~> 2.0.0"},
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
]
end
defp docs do
[
main: "getting_started",
source_ref: "v#{@version}",
source_url: "https://github.com/brainlid/langchain",
extra_section: "GUIDES",
extras: extras(),
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
defp extras do
["CHANGELOG.md"] ++ Path.wildcard("guides/*.md")
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Mark Ericksen"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/brainlid/langchain"}
]
end
end