/AI-APP

This AI App, created with OpenAI's API, harnesses the power of OpenAI's cutting-edge technology to provide a wide range of capabilities. The app leverages OpenAI's models to perform various tasks such as: Q&A: Ask questions and receive accurate answers based on the provided context. Code Generation: Generate code snippets or complete programs

Primary LanguageJavaScriptMIT LicenseMIT

AI-APP

This AI App, created with OpenAI's API, harnesses the power of OpenAI's cutting-edge technology to provide a wide range of capabilities. The app leverages OpenAI's models to perform various tasks such as:

Q&A: Ask questions and receive accurate answers based on the provided context.

Code Generation: Generate code snippets or complete programs in multiple programming languages, including Python and JavaScript.

Language Translation: Translate text from one language to another, supporting a wide range of languages.

Recipe Generation: Generate recipes for various types of food, offering step-by-step instructions and ingredient lists.

Storytelling: Create engaging and immersive horror stories, and many more, tapping into OpenAI's language generation capabilities.

This app offers a user-friendly interface for easy interaction with OpenAI's API-powered features.

Key Features

Q&A: Get accurate answers to your questions based on provided context.

Code Generation: Automatically generate code snippets or complete programs in different programming languages.

Language Translation: Translate text from one language to another.

One to other language Conversion: Convert any code to any programming language.

Recipe Generation: Generate recipes for various types of food.

Horror Storytelling: Create captivating horror stories.

Like your own ChatGPT!

Clone this repository to your local machine.

git clone https://github.com/SimraanK/AI-APP

Usage

To utilize the diverse functionalities of this AI app, follow the usage instructions below:

Examples

Here are some examples to showcase the app's functionality:

Q&A:

Question: "What is the capital of France?"

Answer: "The capital of France is Paris."

Code Generation:

Input: "Generate a Python function to calculate the factorial of a number."

Output:

python

def factorial(n):

    if n == 0:    
        return 1        
    else:    
        return n * factorial(n-1)

Language Translation:

Input: "Translate 'Hello, how are you?' to French."

Output: "Bonjour, comment ça va ?"

Python to JavaScript Conversion:

Input: "Convert the following Python code to JavaScript: [insert Python code]."

Output: [JavaScript equivalent of the provided Python code]

Recipe Generation:

Input: "Generate a recipe for chocolate chip cookies."

Output:

markdown

Ingredients:

  • 1 cup butter, softened
  • 1 cup granulated sugar
  • 1 cup brown sugar, packed
  • 2 large eggs
  • 1 teaspoon vanilla extract
  • 3 cups all-purpose flour
  • 1 teaspoon baking soda
  • 1/2 teaspoon salt
  • 2 cups chocolate chips

Contributing

Contributions to this AI app are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull

Happy Coding🖤

Screenshot (327) Screenshot (328) Screenshot (324) Screenshot (326)