Giter Site home page Giter Site logo

integrating-gpt-3-in-excel's Introduction

Integrating-GPT-3-in-Excel

Created an editable user-defined Excel function ask_GPT() capable of interacting directly with the OpenAI API for output.

sample.mp4

P.S. I do know how to screen record on a PC but that was just not possible here. Apologies for the bad video quality :)

Almost everyone is talking about ChatGPT and it's multitude of real-life use-cases. The possibilities of OpenAI's GPT are endless and this repository is all about bringing that power to excel. In the past few weeks, there has been a lot of buzz around the GPT Google Sheet Add-in but what if you want to work on sensitive data on a local file?

I have the solution right here, a User-defined Function coded in Python capable of interacting with Excel's VBA backend as well the OpenAI API. This is accomplished using the open-source python module xlwings.

Setup and Usage

  1. get the xlwings add-in to Excel. Refer link for installation.
  2. Open the .xlsm file and the corresponding same name .py file generated as a result of the above installation.
  3. Start coding. Refer to ask_gpt.py file for the sample User-defined Function.
  4. Lastly, don't forget to add-in your personal OpenAI API key and organisation API key in keys.py and model_training_service_param_openai.py

Note: Answers filled in by GPT may be questionable or incorrect.

integrating-gpt-3-in-excel's People

Contributors

sakshee5 avatar

Watchers

 avatar

Forkers

ahxh2000

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.