Giter VIP home page Giter VIP logo

ai_helps_pwr's Introduction

AI helps PWR

Repository for Hack4WroclawTech hackhaton with project which will improve working at Wroclaw University of Science and Technology applying some AI solution.

Our idea: Dean office assistant

It automatically responds for students mails.

Installation

Required:

The project uses poetry tool. So you should have it preinstalled

poetry install  # create venv and install all dependencies
poetry shell  # activate venv

Configuration

Use GPT

You should copy the config file from config/config to config/config.local and complete with your key.

[eventRegistry]
apiKey = yourapiKey

Then you can use:

experiments/scripts/conversation.py

where example input prompt you can find in data/test_prompt.json

Sending email

To send email please add to config.local file:

[email]
sender = yourmail
password = yourpassword

Under the link please find how to get password: https://support.google.com/accounts/answer/185833?hl=pl, and create new app_password: https://myaccount.google.com/u/1/apppasswords.

Running demo

demo_app

It should run streamlit app and open it in a browser.

There you can type student email for which will be generated autoresponse.

ai_helps_pwr's People

Contributors

wojtek11530 avatar waczjoan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ai_helps_pwr's Issues

Come up with a clever idea for project!!!

Description in PL

Cel hackathonu

image
image
image

Wymaganie; użycie sztucznej inteligencji

Musimy wymyślić jakieś rozwiązanie, które usprawni funkcjonowanie PWr. Może to być rozwiązanie dla pracowników, studentów, doktorantów, prowadzących etc.

Init streamlit demo app

We will probably need some demo app written with Streamlit. For now we don;t knowwhat it will exavtly look like but we can add some initial simple version with one page which will be our starting point for the future work.

Consider adding tox for tests

Add tox for tests automation. Firstly consider if it is needed since some pre-commit hooks are added, so maybe it is unnecessary. Secondly, how integrate tox with current tools: poetry, black, ruff, pytest.

Improve Streamlit demo app UI

Things to do:

  • add loading circle when chatgpt processes prompt
  • disable button when response is being generated
  • add auxiliary response printing (summary, category)
  • add logo of WMAT (optional)

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.