Giter VIP home page Giter VIP logo

anupammaurya6767 / gpt4 Goto Github PK

View Code? Open in Web Editor NEW
40.0 2.0 6.0 12.08 MB

The GPT4 API project aims to provide an automated interface for interacting with the GPT-4 (Generative Pre-trained Transformer 4) model developed by OpenAI. GPT-4 is a state-of-the-art natural language processing model capable of generating human-like text based on input prompts.

Home Page: https://tanjiro-gpt4.netlify.app/

License: MIT License

Python 12.96% JavaScript 25.18% CSS 13.36% HTML 48.49%
gpt-4 gpt4 gpt4-api gpt4free chatgpt chatgpt-api hacktoberfest jellyfin taiko-mono

gpt4's Introduction

Contributors Forks Stargazers Issues MIT License


Logo

GPT4

GPT4-API
ยท Report Bug ยท Request Feature

About The Project

GPT4

Watch the video

The GPT-4 API is an interface for interacting with the powerful GPT-4 language model. It allows you to generate natural language text, perform question-answering tasks, and more. Whether you're building chatbots, content generators, or creative writing tools, GPT-4 has got you covered!

Here's why:

  • Free access to GPT-4.๐Ÿ˜€
  • Seamless integration into your code.๐Ÿ˜‹
  • Generate text and images effortlessly.๐Ÿ˜ฎ
  • Explore the GPT-4 API on GitHub.๐ŸŒŸ
  • Don't forget to give it a star, fork, and contribute. ๐Ÿ˜Ž

(back to top)

Table of Contents

Prerequisites

Make sure you have the following installed-

  • Python: You'll need Python installed on your system.
  • Selenium: We'll be using Selenium for web automation.

Installation

  1. Clone this repository:

    git clone https://github.com/anupammaurya6767/GPT4.git
  2. Install dependencies:

    pip install -r requirements.txt

    Or

pip install api-gpt4
  1. Set up your GPT-4 credentials (Microsoft account username, password, etc.) in config.ini.

Usage

  1. Initialize the GPT-4 API:

    from api.gpt4 import GPT4
    
    ap = GPT4(config_file='config.ini')
  2. Log in to the GPT-4 service:

    ap.login()
  3. Ask questions or generate text:

    question = 'What is the meaning of life?'
    ap.ask_question(question)
    response = ap.get_response()
  4. Image Generation:

    prompt = 'A man on bike'
    response = ap.design(prompt)
  5. Close the API connection when done:

    ap.close()

Features

  • Natural Language Generation: Create human-like text.
  • Question-Answering: Get accurate answers to queries.
  • Customizable: Fine-tune GPT-4 for specific tasks.
  • Scalable: Handle large volumes of requests.

Contributing

Contributions are welcome! If you find a bug or have an enhancement idea, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

gpt4's People

Contributors

anupammaurya6767 avatar aryan1625 avatar tarun4632 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gpt4's Issues

Error when calling the login method said element not interactable

self.driver = self.login_handler.login(username, password,self.url)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "F:\my-code\Python\GPT4\api\modules\login.py", line 20, in login
sign_in_button.click()

raise exception_class(message, screen, stacktrace)

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
(Session info: chrome-headless-shell=122.0.6261.95)
Stacktrace:
GetHandleVerifier [0x00007FF654D7AD22+56930]

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.