1.0.23 • Published 11 months ago

conversaikit v1.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

ConversAIKit

ConversAI is a TypeScript-based framework designed to handle conversations in your applications effectively and efficiently. It provides integration with Langchain, Pinecone, and Ably to bring the power of conversational AI into your hands.

Functional Requirements

Integration with Langchain

Enable seamless communication and interactions with Langchain for processes such as token handling, conversation management, and language model management.

Document Embedding with Pinecone

Support for embedding documents using Pinecone. This includes initializing Pinecone, creating embeddings, and querying them.

Prompt Management

Provide a mechanism for handling and managing various prompt templates. This includes adding interactions to the session and building inquiry chains.

Common Functionalities

Pinecone Data Processes

Handling Pinecone-related tasks such as client initialization, embedding creation, and query execution.

PromptBase Management

Support for the handling of various prompt templates and managing chains in Langchain's PromptBase.

Document Summarization

Enable the summarization of lengthy documents into shorter, concise summaries using external tools or libraries.

Core Services

PineconeService

Manages all interactions with Pinecone, including initializations, embeddings, and querying.

AblyService

Handles all communications with Ably for real-time updates, including client initialization, publishing events, and generating token requests.

SummarizationService

Responsible for the document summarization process.

ChainService

Oversees the building and handling of Langchain chains.

PromptBaseService

Controls interactions with Langchain's PromptBase, such as adding interactions and building chains and templates.

Installation

To install ConversAI in your project, run:

npm install conversai
1.0.23

11 months ago

1.0.22

11 months ago

1.0.21

11 months ago

1.0.20

11 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.4

11 months ago

1.0.2

11 months ago

1.0.0

11 months ago