You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/concepts/LLM.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ data Message = Message
68
68
The `Message` type represents a single message in the chat conversation. It has three fields:
69
69
- `role`: The role of the message sender (Possible values are User, Assistant, System, Tool, Developer, Function).
70
70
- `content`: The content of the message (Text).
71
-
- `messageData`: Additional data associated with the message, such as name or toolcalls (soon to be depreceted). You can use `defaultMessageData` to create a default instance of `MessageData` with no additional data.
71
+
- `messageData`: Additional data associated with the message, such as name or tool calls. You can use `defaultMessageData` to create a default instance of `MessageData` with no additional data.
72
72
73
73
## Writing your own LLM
74
74
@@ -158,7 +158,7 @@ For full control, construct the type directly:
158
158
let customClient =OpenAICompatible
159
159
{ apiKey =Just"your-api-key"
160
160
, modelName ="custom-mistral"
161
-
, callbacks = [stdOutCallbacl] -- Example with logging callback
161
+
, callbacks = [stdOutCallback] -- Example with logging callback
Copy file name to clipboardExpand all lines: docs/docs/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ sidebar_position: 1
4
4
5
5
# langchain-hs Documentation
6
6
7
-
Lanchain-hs is the Haskell implementation of [LangChain](https://www.langchain.com/).
7
+
Langchain-hs is the Haskell implementation of [LangChain](https://www.langchain.com/).
8
8
9
9
## Welcome to langchain-hs
10
10
11
11
Langchain-hs brings the power of LangChain to Haskell, enabling type-safe LLM application development with:
12
12
13
13
- Composable pipelines using Haskell's type system
14
-
- Closely following with Offical LangChain concepts
14
+
- Closely following with Official LangChain concepts
15
15
- Performance through functional programming patterns
16
16
- Support for Ollama, OpenAI and custom LLM integrations
17
17
@@ -21,7 +21,7 @@ Check out the [Quickstart](getting-started/quick_start) guide to get started wit
21
21
22
22
## Components
23
23
24
-
This documenation provides an overview of the core components of langchain-hs. Each component is designed to be modular, composable and interchangeble, allowing you to build complex applications with ease.
24
+
This documentation provides an overview of the core components of langchain-hs. Each component is designed to be modular, composable and interchangeable, allowing you to build complex applications with ease.
25
25
26
26
Langchain-hs is built around the core concepts of LangChain; You will find documentation for each components including:
0 commit comments