Skip to content

Toolchain for LLMs built on LangChain, providing a flexible framework for document processing, retrieval-augmented generation (RAG), and model evaluation.

Notifications You must be signed in to change notification settings

roman-rr/LLM-toolchain

Repository files navigation

A tool that helps you stay focused longer and boost your work productivity

LLM Toolchain based on LangChain

A comprehensive toolchain for Large Language Models (LLMs) built on LangChain, providing a flexible framework for document processing, retrieval-augmented generation (RAG), and model evaluation.

Key Capabilities

  • LangChain Integration: Leverages LangChain's powerful components for building sophisticated LLM applications
  • RAG (Retrieval Augmented Generation): Multiple implementations for enhanced context-aware responses
  • Fine Tuning Models: Support for custom model fine-tuning and specialized chain creation
  • Vector Database Support Pinecone and other intergations
  • Experiments: Integrated experiment tracking and evaluation using LangSmith
  • Evaluations: Comprehensive evaluation framework for assessing model performance

TODO NEXT

Components

  • rag_gpt_model_pdf_chain.py: PDF document processing chain
  • rag_gpt_model_txt_from_dir_chain.py: Text file processing chain
  • rag_gpt_model_pdf_pinecone_chain.py: Pinecone-based document processing
  • test_chains.py: Test utilities for different chain implementations
  • run_experiment.py: Experiment runner with LangSmith integration
  • fine_tuned_chain.py: Custom chain implementation
  • get_datasets.py: Dataset management utilities

Useful docs

Usage

  • cd LLM-toolchain
  • python3 -m venv venv
  • source myenv/bin/activate
  • pip install -r requirements.txt

Run any script with python ...

About

Toolchain for LLMs built on LangChain, providing a flexible framework for document processing, retrieval-augmented generation (RAG), and model evaluation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages