packages feed

langchain-hs-0.0.1.0: langchain-hs.cabal

cabal-version: 1.12

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

name:           langchain-hs
version:        0.0.1.0
synopsis:       Haskell implementation of Langchain
description:    Build LLM-powered applications in Haskell.
category:       Web
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
extra-source-files:
    README.md
    CHANGELOG.md

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

library
  exposed-modules:
      Langchain.Agents.Core
      Langchain.Agents.React
      Langchain.Callback
      Langchain.DocumentLoader.Core
      Langchain.DocumentLoader.FileLoader
      Langchain.DocumentLoader.PdfLoader
      Langchain.Embeddings.Core
      Langchain.Embeddings.Ollama
      Langchain.LLM.Core
      Langchain.LLM.Ollama
      Langchain.LLM.OpenAI
      Langchain.Memory.Core
      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.Core
      Langchain.Tool.WebScraper
      Langchain.Tool.WikipediaTool
      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.*
    , base >=4.7 && <5
    , bytestring >=0.10
    , containers >=0.6 && <0.9
    , directory >=1.3.6 && <1.4
    , http-conduit ==2.*
    , http-types >=0.11 && <0.13
    , ollama-haskell
    , pdf-toolbox-document ==0.1.4
    , scalpel ==0.6.*
    , text ==2.*
  default-language: Haskell2010

test-suite langchain-hs-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Test.Langchain.Agent.Core
      Test.Langchain.Agent.ReactAgent
      Test.Langchain.DocumentLoader.Core
      Test.Langchain.Embeddings.Core
      Test.Langchain.LLM.Core
      Test.Langchain.LLM.Ollama
      Test.Langchain.Memory.Core
      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.*
    , base >=4.7 && <5
    , bytestring >=0.10
    , 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
    , pdf-toolbox-document ==0.1.4
    , scalpel ==0.6.*
    , tasty
    , tasty-hunit
    , temporary
    , text
  default-language: Haskell2010