cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack
name: langchain-hs-core
version: 0.0.6.0
synopsis: Core typeclasses and pure AST primitives for langchain-hs
description: Zero HTTP dependency core package containing ChatModel, RunnableTree, ContentBlock, Tool, and StreamEvent primitives.
category: Web, AI, Control
homepage: https://github.com/tusharad/langchain-hs#readme
bug-reports: https://github.com/tusharad/langchain-hs/issues
author: Tushar Adhatrao
maintainer: tusharadhatrao@gmail.com
copyright: 2025-2026 Tushar Adhatrao
license: MIT
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.12.4
, GHC == 9.10.3
, GHC == 9.8.4
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/tusharad/langchain-hs
library
exposed-modules:
Langchain.Error
Langchain.Model
Langchain.Model.Types
Langchain.Monad
Langchain.Stream
Langchain.Runnable
Langchain.Tool
Langchain.Tool.Binding
Langchain.Tool.Checkpoint
Langchain.Tool.Core
Langchain.Tool.FileSystem
Langchain.Tool.GenericSchema
Langchain.Tool.Process
Langchain.Tool.Security
Langchain.Tool.Shell
Langchain.Embeddings
Langchain.Embeddings.Core
Langchain.DocumentLoader
Langchain.DocumentLoader.Core
Langchain.DocumentLoader.DirectoryLoader
Langchain.DocumentLoader.FileLoader
Langchain.TextSplitter.Character
Langchain.TextSplitter.Code
Langchain.TextSplitter.Markdown
Langchain.TextSplitter.RecursiveCharacter
Langchain.TextSplitter.Token
Langchain.VectorStore
Langchain.VectorStore.Core
Langchain.VectorStore.InMemory
Langchain.PromptTemplate
Langchain.PromptTemplate.Prompt
Langchain.PromptTemplate.String
Langchain.Observability
Langchain.Callback
Langchain.Callback.Manager
Langchain.Retriever
Langchain.Retriever.Core
Langchain.Retriever.BM25
Langchain.Retriever.Hybrid
Langchain.Resilience
Langchain.Resilience.CircuitBreaker
Langchain.Resilience.Retry
Langchain.Memory
Langchain.Memory.Core
Langchain.Memory.Summary
Langchain.Memory.Session
Langchain.Memory.Entity
Langchain.Memory.Combined
Langchain.Cache
Langchain.Cache.Core
Langchain.OutputParser
Langchain.OutputParser.Core
Langchain.OutputParser.Structured
Langchain.Chain
Langchain.Chain.RetrievalQA
Langchain.Agent
Langchain.Agent.ReAct
Langchain.Agent.PlanAndExecute
Langchain.Guardrail
Langchain.Guardrail.Core
Langchain.Prelude
other-modules:
Paths_langchain_hs_core
hs-source-dirs:
src
default-extensions:
MultiParamTypeClasses
FunctionalDependencies
TypeFamilies
TypeOperators
DataKinds
GADTs
OverloadedStrings
DeriveGeneric
DeriveAnyClass
RecordWildCards
FlexibleContexts
build-depends:
aeson >=2.0 && <3
, async ==2.2.*
, base >=4.17 && <5
, base64-bytestring ==1.2.*
, bytestring >=0.10 && <0.13
, conduit ==1.3.*
, containers >=0.6 && <0.9
, directory ==1.3.*
, filepath >=1.4 && <2
, format-heavy ==0.1.*
, mtl >=2.2 && <2.4
, process ==1.6.*
, random >=1.2 && <1.4
, resourcet >=1.2 && <1.4
, scientific ==0.3.*
, sqlite-simple >=0.4.18 && <0.5
, stm ==2.5.*
, text >=1.2 && <3
, time >=1.9 && <1.15
default-language: Haskell2010
test-suite langchain-hs-core-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Test.Langchain.Callback
Test.Langchain.Model
Test.Langchain.Monad
Test.Langchain.Observability
Test.Langchain.PromptTemplate
Test.Langchain.Resilience
Test.Langchain.Retriever
Test.Langchain.Runnable
Test.Langchain.Stream
Test.Langchain.TestModel
Test.Langchain.Tool
Paths_langchain_hs_core
hs-source-dirs:
test
default-extensions:
MultiParamTypeClasses
FunctionalDependencies
TypeFamilies
TypeOperators
DataKinds
GADTs
OverloadedStrings
DeriveGeneric
DeriveAnyClass
RecordWildCards
FlexibleContexts
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck >=2.14
, aeson >=2.0 && <3
, async ==2.2.*
, base >=4.17 && <5
, base64-bytestring ==1.2.*
, bytestring >=0.10 && <0.13
, conduit ==1.3.*
, containers >=0.6 && <0.9
, directory ==1.3.*
, filepath >=1.4 && <2
, format-heavy ==0.1.*
, langchain-hs-core
, mtl >=2.2 && <2.4
, process ==1.6.*
, random >=1.2 && <1.4
, resourcet >=1.2 && <1.4
, scientific ==0.3.*
, sqlite-simple >=0.4.18 && <0.5
, stm ==2.5.*
, tasty >=1.4
, tasty-hunit >=0.10
, tasty-quickcheck >=0.10
, text >=1.2 && <3
, time >=1.9 && <1.15
default-language: Haskell2010