Giter VIP home page Giter VIP logo

multi-task-llm-chatbot's Introduction

Multi-task-LLM-ChatBot

This streamlit chatbot application is built on top of the LangChain API and provides multi-task functionalities, including Question & Answering over Documents and a smart ChatBot with internet search capabilities. It leverages the power of language models, embedding techniques, and efficient search capabilities to deliver accurate and contextually relevant information to users.

demo_video.mp4

Features

Question & Answering

The Question & Answering over Documents feature allows users to extract information and gain insights from their document files. It offers the following capabilities:

  • File Upload: Users can upload document files in PDF, DOCX, or TXT format directly into the application.
  • Question Input: Users can enter their questions in natural language format within the application.
  • Answer Generation: The application utilizes the power of the OpenAI model to process the document content and generate accurate answers to user questions.
  • Contextual Understanding: The LangChain API incorporates OpenAI embedding to enable contextual understanding of the document content, enhancing the accuracy of the generated answers.
  • Efficient Search: The application utilizes the Chroma vector store for indexing the document embeddings, enabling quick and efficient search for relevant information.

ChatBot

The ChatBot feature provides users with an interactive conversational experience. It offers the following capabilities:

  • OpenAI Model: The ChatBot utilizes the OpenAI model for generating responses, ensuring natural and contextually relevant conversations.
  • Agent Capabilities: The ChatBot is equipped with additional capabilities through agents, enabling it to perform tasks beyond basic conversation.
  • Tool Integration: The ChatBot leverages external tools, such as the SERP (Search Engine Results Page) API, to expand its capabilities. This integration allows the bot to search the internet and provide accurate answers based on current events or specific search queries.
  • LangChain API: The ChatBot's architecture is built using the LangChain API, which provides a comprehensive set of tools and utilities for developing advanced conversational applications.

Installation

To install and run the Multi-task LLM App, follow these steps:

  1. Create a virtual environment and activate it:
python3 -m venv myenv
source myenv/bin/activate
  1. Install the required dependencies using the provided requirements file:
pip install -r requirements.txt

Run the Streamlit app:

streamlit run application.py

multi-task-llm-chatbot's People

Contributors

phemiloyeai avatar

Watchers

 avatar

Forkers

santhoshreddy39

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.