Coder Social home page Coder Social logo

virtual-assistent-in-python's Introduction

Pythor assistant

A personal assistant I created using ChatGPT (OpenAI api) and some Python libraries is called the Pythor Assistant.

built

How the api key works

When running the program main.py in the terminal, the user will be prompted for the api key that was made available on the openai website after logging in. Once you have access to the key, copy it and paste it into your terminal to enable the bot's research access. The api key will be created in the key/ directory, where it can be found as key.txt and inside the key that the bot is using.

( The code I created that is used in the file key.py is very simple, in short, it first checks to see if the file exists before performing an mb count. Try to determine whether the file has 0 megabits or is otherwise empty; if so, copy the content that the key contains; if not, pass. If the document is missing, create a key.txt file in the key/ directory using the already written api key.)

Code

  • Gpt_config.py - These are the settings and components that the bot uses for the search, which also includes key filtering.
  • voice.py - Configurations on the voice that are presented as a research result, if you don't like them, you can choose to remove.
  • test.py - The file where i make my test with python libraries before put in main code.
  • main.py - Main file

installation

  1. clone the repo
    git clone 
  2. install dependencies
    python main.py

contributing

  1. fork the project
  2. create your feature branch
git checkout -b feature/AmazingFeature
  1. commit your changes
git commit -m 'Add some AmazingFeature'
  1. push to the branch
git push origin feature/AmazingFeature
  1. open a pull request

virtual-assistent-in-python's People

Contributors

carlloshenrique avatar

Watchers

 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.