Coder Social home page Coder Social logo

fgblanch / outlookllm Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 0.0 892 KB

Add-in for new Outlook that adds LLM new features (Composition, Summarizing, Q&A). It uses a local LLM via Nvidia TensorRT-LLM

License: Other

HTML 8.36% JavaScript 25.57% Python 66.06%
outlook-addin tensorrt-llm

outlookllm's Introduction

OutlookLLM https://github.com/fgblanch/OutlookLLM/OutlookLLM Add-in/assets/OutlookLLM.png

Outlook Add-in to use Generative AI features (Email composition, Email Thread Summarization (WIP), Inbox Q&A(WIP)) securely and privately. It uses a local LLM served via Nvidia TensorRT-LLM.

Installation and getting started (Windows):

This system has two componentes: 1) An Outlook Add-in front end (React, Office Add-in framework) 2) An LLM inference backend (Python, Flask, TensorRT-LLM)

To get the system running:

  1. Clone this repository:

    git clone https://github.com/fgblanch/OutlookLLM.git
    
  2. Install LLM dependencies:

2.1 Install TensorRT-LLM for Windows using the instructions here.

2.2 Download or Build your TensorRT-LLM LLM model of choice. The model needs to be Instruct Tuned (Llama format). - I used Mistral 7B Intruct tuned from HuggingFace: Mistral-7B-Instruct-v0.2, and converted to TensorRT-LLM using the instructions here - Other models tested are [Llama2 7B HF Chat] (https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) and Gemma 7b IT

  1. Outlook Add-in generation and sideloading. (WIP)

  2. Install LLM Backend dependencies

pip install -r requirements.txt
  1. Configure LLM Backend Https certificates (WIP)

  2. Run LLM Backend (WIP)

  3. Enjoy! ;)

Next Steps and Roadmap:

  • Build RAG on Backend for Inbox and Calendar Q&A

outlookllm's People

Contributors

fgblanch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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