packages feed

langchain-hs-0.0.3.0: langchain-hs.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack

name:           langchain-hs
version:        0.0.3.0
synopsis:       Haskell implementation of Langchain
description:    Build LLM-powered applications in Haskell.
category:       Web, AI
homepage:       https://github.com/tusharad/langchain-hs#readme
bug-reports:    https://github.com/tusharad/langchain-hs/issues
author:         tushar
maintainer:     tusharadhatrao@gmail.com
copyright:      2025 tushar
license:        MIT
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.10.1
  , GHC == 9.8.4
  , GHC == 9.6.6
  , GHC == 9.4.8
  , GHC == 9.2.8
  , GHC == 9.0.2
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/tusharad/langchain-hs

library
  exposed-modules:
      Langchain.Agent.Core
      Langchain.Agent.Executor
      Langchain.Agent.Middleware
      Langchain.Agent.ReAct
      Langchain.Callback
      Langchain.Chain.RetrievalQA
      Langchain.DocumentLoader.Core
      Langchain.DocumentLoader.DirectoryLoader
      Langchain.DocumentLoader.FileLoader
      Langchain.DocumentLoader.PdfLoader
      Langchain.Embeddings.Core
      Langchain.Embeddings.Gemini
      Langchain.Embeddings.Ollama
      Langchain.Embeddings.OpenAI
      Langchain.Error
      Langchain.LLM.Core
      Langchain.LLM.Deepseek
      Langchain.LLM.Gemini
      Langchain.LLM.Huggingface
      Langchain.LLM.Internal.Huggingface
      Langchain.LLM.Ollama
      Langchain.LLM.OpenAI
      Langchain.LLM.OpenAICompatible
      Langchain.Memory.Core
      Langchain.Memory.TokenBufferMemory
      Langchain.OutputParser.Core
      Langchain.PromptTemplate
      Langchain.Retriever.Core
      Langchain.Retriever.MultiQueryRetriever
      Langchain.Runnable.Chain
      Langchain.Runnable.ConversationChain
      Langchain.Runnable.Core
      Langchain.Runnable.Utils
      Langchain.TextSplitter.Character
      Langchain.Tool.Calculator
      Langchain.Tool.Core
      Langchain.Tool.DuckDuckGo
      Langchain.Tool.Utils
      Langchain.Tool.WebScraper
      Langchain.Tool.WikipediaTool
      Langchain.Utils
      Langchain.VectorStore.Core
      Langchain.VectorStore.InMemory
  other-modules:
      Paths_langchain_hs
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      aeson ==2.*
    , async <3
    , base >=4.7 && <5
    , base64-bytestring ==1.2.*
    , bytestring >=0.10
    , conduit >=1.2 && <1.4
    , containers >=0.6 && <0.9
    , directory >=1.3.6 && <1.4
    , filepath <2
    , http-conduit ==2.*
    , http-types >=0.11 && <0.13
    , ollama-haskell >=0.2.1
    , openai >=2.2.1
    , parsec <4
    , pdf-toolbox-document ==0.1.4
    , tagsoup <0.15
    , text >=1.2 && <3
    , time >=1.9 && <1.15
    , transformers
    , vector <0.14
  default-language: Haskell2010

test-suite langchain-hs-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Test.Langchain.Agent.ReAct
      Test.Langchain.DocumentLoader.Core
      Test.Langchain.DocumentLoader.DirectoryLoader
      Test.Langchain.Embeddings.Core
      Test.Langchain.LLM.Core
      Test.Langchain.LLM.Ollama
      Test.Langchain.Memory.Core
      Test.Langchain.Memory.TokenBufferMemory
      Test.Langchain.OutputParser.Core
      Test.Langchain.PromptTemplate
      Test.Langchain.Retriever.Core
      Test.Langchain.Runnable.Chains
      Test.Langchain.Runnable.ConversationChains
      Test.Langchain.Runnable.Core
      Test.Langchain.Runnable.Utils
      Test.Langchain.TextSplitter.Character
      Test.Langchain.Tool.Core
      Test.Langchain.VectorStore.Core
      Paths_langchain_hs
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson ==2.*
    , async <3
    , base >=4.7 && <5
    , base64-bytestring ==1.2.*
    , bytestring >=0.10
    , conduit >=1.2 && <1.4
    , containers >=0.6 && <0.9
    , directory >=1.3.6 && <1.4
    , filepath
    , http-conduit ==2.*
    , http-types >=0.11 && <0.13
    , langchain-hs
    , ollama-haskell >=0.2.1
    , openai >=2.2.1
    , parsec <4
    , pdf-toolbox-document ==0.1.4
    , tagsoup <0.15
    , tasty
    , tasty-hunit
    , temporary
    , text
    , time >=1.9 && <1.15
    , transformers
    , vector <0.14
  default-language: Haskell2010