Coder Social home page Coder Social logo

aulasw / openai-python-client Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 442 KB

A python GUI application that communicates with OpenAI through their openai-python API. Works with OpenAI Text Completion and Text Edit models.

Home Page: https://github.com/AuLaSW/openai-python-client

Python 100.00%
gui openai openai-python python

openai-python-client's Introduction

openai-python-client

A python GUI application that communicates with OpenAI through their openai-python API. Works with OpenAI Text Completion endpoint.

Purpose

I began developing this program in January of 2023 as a tool for people in my circle to interact with different ChatGPT models. The goal was to use the OpenAI API to develop an application that could run on the desktop and communicate with the ChatGPT servers.

Accessing the servers needed to be general use so they could fit the tool to their needs. It also needed to be easy to use, so no needing to download and build from source. It needed to be as general-purpose and accessible as possible.

Though those aspects are not yet developed/ready, in the future the application will have a GUI and have a binary release for Windows (with releases for other OS's coming as fast as I can get them).

This project is still a work in progress, though I am working on it frequently right now.

Installing

To install, head over to the releases tab to find the latest release and install from there, either that or clone this repository into a folder. You'll need to set up the correct paths to be able to run the application.

Currently there is no binary build and the project runs in a venv. Currently the application runs through app.py, though that will be updated to a better file name soon. When the application runs, it will ask you to either input your API key or use the test API. This has to be done at each instantiation until the code is fixed.

Requirements

Requirements for running the application can be found here.

TODO

  • Create documentation for the code.
  • Extend to more endpoints.
    • Edit endpoint.
    • Codex endpoint.
    • Embedding endpoint.
  • API key retrieval and saving.
  • Better interaction UI for the models.
  • Help center for how to best work with the models.

Current Work

Currently, the project is moving the model package over to a set of abstract factories working together to build the requests and responses. This will allow for easier extension to accomodate different endpoints.

Contributing

If you would like to contribute, please fork the repository and make a pull request! Contributions are welcome; however, I can be slow to looking at them and getting back with you, so I may not immediately look at/comment on/merge them.

Contributors

AuLaSW

License

openai-python-client's People

Contributors

aulasw avatar

Watchers

 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.