Skip to content

Commit

Permalink
Add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Jul 19, 2023
1 parent 86812fe commit cee1404
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package agent provides functionality for creating and managing agents that leverage Large Language Models (LLMs) to make informed decisions and take actions.
package agent

import (
Expand Down
1 change: 1 addition & 0 deletions callback/callback.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package callback provides utilities for implementing callbacks in GoLC applications.
package callback

import (
Expand Down
2 changes: 2 additions & 0 deletions chain/chain.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package chain enables the creation and execution of chains, which are sequences of calls to LLMs or other utilities. It provides a standardized interface for working with chains and allows for seamless integration with various tools and services.
package chain
2 changes: 2 additions & 0 deletions documentloader/documentloader.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package documentloader provides functionality for loading and processing documents in GoLC applications.
package documentloader
1 change: 1 addition & 0 deletions evaluation/evaluation.go
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Package evaluation provides utilities for evaluating and assessing the performance of generative models in GoLC applications.
package evaluation
1 change: 1 addition & 0 deletions integration/integration.go
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Package integration provides utilities for integrating GoLC with external systems, services, and frameworks.
package integration
2 changes: 1 addition & 1 deletion memory/memory.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Package memory contains implementations for managing conversation data
// Package memory contains implementations for managing conversation data and facilitating the persistence of state between chain or agent calls.
package memory
2 changes: 2 additions & 0 deletions outputparser/outputparser.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package outputparser provides utilities for parsing and processing the output generated by LLMs and other tools in GoLC applications.
package outputparser
1 change: 1 addition & 0 deletions prompt/prompt.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package prompt provides utilities for managing and optimizing prompts in GoLC applications.
package prompt

import (
Expand Down
2 changes: 2 additions & 0 deletions rag/rag.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package rag provides functionality for Retrieval-Augmented Generation (RAG) in GoLC applications.
package rag
2 changes: 2 additions & 0 deletions schema/schema.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package schema defines the data structures and types used in GoLC applications.
package schema
1 change: 1 addition & 0 deletions textsplitter/text_splitter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package textsplitter provides utilities for splitting and processing text in GoLC applications.
package textsplitter

import (
Expand Down
2 changes: 2 additions & 0 deletions tokenizer/tokenizer.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package tokenizer provides utilities for tokenizing text in GoLC applications.
package tokenizer
1 change: 1 addition & 0 deletions util/util.go
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Package util provides utility functions and helpers for use in GoLC applications.
package util
1 change: 1 addition & 0 deletions vectorstore/vectorstore.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vectorstore provides functionality for storing and managing vector embeddings in GoLC applications.
package vectorstore

import (
Expand Down

0 comments on commit cee1404

Please sign in to comment.