langchain-hs-0.0.2.0: Haskell implementation of Langchain
Copyright(c) 2025 Tushar Adhatrao
LicenseMIT
MaintainerTushar Adhatrao <[email protected]>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Langchain.LLM.Huggingface

Description

Huggingface inference implementation Langchain's LLM Interface. https:/huggingface.codocsinference-providersproviders/cerebras

  • Support for text generation, chat, and streaming responses
  • Configuration of Huggingface-specific parameters (temperature, max tokens, etc.)
  • Conversion between Langchain's message format and Huggingface's API requirements
  • Compatibility with Huggingface's hosted inference API and other providers
Synopsis

Types

data Huggingface Source #

Configuration for Huggingface LLM integration

Constructors

Huggingface 

Fields

data HuggingfaceParams Source #

Generation parameters specific to Huggingface models

Constructors

HuggingfaceParams 

Fields

Functions

defaultHuggingfaceParams :: HuggingfaceParams Source #

Default values for huggingface params

defaultMessage :: Message Source #

Default message type