Giter Site home page Giter Site logo

llama-index-bot's Introduction

How I "Trained" ChatGPT to My Own Documents

This repository provides a guide on how to seamlessly integrate your personal data storage with a powerful language model such as OpenAI's GPT. By leveraging LlamaIndex, developers can bypass the need for time-consuming fine-tuning and excessive prompts.

Features

  • Data Integration: LlamaIndex provides connectors that allow you to seamlessly integrate your existing data sources and formats, such as APIs, PDFs, documents, and SQL databases.
  • Data Structuring: Easily structure your data using documents and nodes, enabling efficient storage and retrieval.
  • Advanced Retrieval and Query Interface: LlamaIndex offers a powerful retrieval and query interface that enhances your interactions with the language model. It retrieves relevant context and augments the output with enriched knowledge.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository.
  2. Install the required dependencies listed in the requirements.txt file. --> pip3 install -r requirements.txt
  3. Set up your OpenAI API key in the .env file.
  4. Place your pdf files into the resources folder.
  5. Run the chatbot.py file.

Usage

Once the project is set up and running, you can start interacting with the language model by providing prompts. The chat engine powered by LlamaIndex will generate responses based on the context of your data. The data is retrieved from folder "resources" so just place your pdf into this folder.

Credits

This project is inspired by the article "Build a Chatbot with Custom Data Sources Powered by LlamaIndex" written by Caroline Frasca, Krista Muir, and Yi Ding. Special thanks to the authors for providing valuable insights and a starting point for this project.

Author

Johannes https://jhayer.tech

llama-index-bot's People

Contributors

xamhans avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.