Skip to content

Repository files navigation

Logo

ChatGPT - Android App

ChatGPT Android App is a project developed for the "Code for Life: Hackathon for everyday solutions" organized by VIT University. This innovative app utilizes the power of the OpenAI GPT-3.5 model to provide natural language conversation capabilities. The app enables users to have interactive and dynamic conversations with an AI chatbot, offering a wide range of practical applications.

Authors

Tech Stack

Java

Kotlin

Features

  • Natural Language Conversations: Engage in lifelike conversations with the AI chatbot powered by GPT-3.5.
  • User-Friendly Interface: The app offers a simple and intuitive user interface, making interactions seamless and enjoyable.
  • Versatile Applications: From answering questions to providing suggestions, the app can assist users in various scenarios.
  • Hackathon Winning Project: ChatGpt Android App emerged as the winner of the "Best Project" award in the hackathon.

How to Use

  • Download and install the ChatGpt Android App from the provided link.
  • Launch the app and start a conversation by typing.
  • The AI chatbot will respond with contextually relevant answers and engage in interactive dialogue.
  • Explore the various use cases and functionalities of the app.

Using the ChatGPT API

  1. Prerequisites
  • An OpenAI account
  • Access to the GPT-3 API (You may need to join a waitlist or have API access granted)
  1. Installation
  • Install the OpenAI Python library using pip:
    pip install openai
  • Import the library into your Python script:
    import openai
  • Set your OpenAI API key as an environment variable:
    export OPENAI_API_KEY=your-api-key
  • Making API Requests
    import openai
    
    openai.api_key = "your-api-key"
    
    response = openai.Completion.create(
    engine="text-davinci-003",  # Use the appropriate engine
    prompt="Translate the following English text to French: 'Hello, how are you?'",
    max_tokens=50)
    
    print(response.choices[0].text.strip())
  1. Installation of Android Studio
  https://developer.android.com/studio

Screenshots

App Screenshot

App Screenshot

App Screenshot

App Screenshot

App Screenshot

App Screenshot

Future Enhancements

  • Integration with additional AI models for enhanced capabilities.
  • Customization options for user interactions.
  • Improved user feedback mechanisms.

Acknowledgements

We would like to express our gratitude to the organizers of the "Code for Life: Hackathon for everyday solutions" for providing us with the opportunity to develop and showcase our project. We also extend our thanks to OpenAI for their GPT-3.5 model, which powers the intelligent conversations in our app.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages