GithubHelp home page GithubHelp logo

luc4t / langchain_virtual_assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luis95garay/llamaindex_virtual_assistant

0.0 0.0 0.0 489 KB

Chatbot using langchain, websocket, fastAPI

License: MIT License

Shell 0.21% Python 90.00% Makefile 0.16% HTML 8.78% Dockerfile 0.85%

langchain_virtual_assistant's Introduction

๐Ÿฆœ๏ธ๐Ÿ”— ChatLangChain

This repo is an implementation of a locally hosted chatbot specifically focused on question answering over the LangChain documentation. It is ingested with information about the bitcoin law in El Salvador for demostration purposes. Built with LangChain and FastAPI.

The app leverages LangChain's streaming support and async API to update the page in real time for multiple users.

โœ… Credentials

  1. Remeber to get a API-key from openai and save it in credentials.env

โœ… Running with container

  1. docker compose --env-file credentials.env up

โœ… Running locally

  1. Install dependencies: pip install -r requirements.txt
  2. Verify that you have the openai API-KEY in credentials.env file
  3. Run the app: uvicorn src.api.main:app --reload --port 9001
  4. Open localhost:9001 in your browser.

langchain_virtual_assistant's People

Contributors

luis95garay 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.