mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-22 01:16:11 -04:00
11 lines
522 B
Go
11 lines
522 B
Go
// Package schema implements a shared core set of data types for use in
|
|
// langchaingo.
|
|
//
|
|
// The primary interface through which end users interact with LLMs is a chat
|
|
// interface. For this reason, some model providers have started providing
|
|
// access to the underlying API in a way that expects chat messages. These
|
|
// messages have a content field (which is usually text) and are associated
|
|
// with a user (or role). Right now the supported users are System, Human, AI,
|
|
// and a generic/arbitrary user.
|
|
package schema
|