Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tushar2704/lingochat

Foreign-Language Private Tutor is an interactive web application powered by Generative AI that assists users in learning foreign languages. The application leverages OpenAI's powerful language model to generate contextually relevant responses based on user input. With its user-friendly interface, learners can practice their foreign language skills
https://github.com/tushar2704/lingochat

artificial-intelligence chatbot data-science language-model nlp

Last synced: 19 days ago
JSON representation

Foreign-Language Private Tutor is an interactive web application powered by Generative AI that assists users in learning foreign languages. The application leverages OpenAI's powerful language model to generate contextually relevant responses based on user input. With its user-friendly interface, learners can practice their foreign language skills

Awesome Lists containing this project

README

        

# LingoChat

[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://lingochat.streamlit.app/)
## Overview
Foreign-Language Private Tutor is an interactive web application powered by Generative AI that assists users in learning foreign languages. The application leverages OpenAI's powerful language model to generate contextually relevant responses based on user input. With its user-friendly interface, learners can practice their foreign language skills and receive instant feedback.

## Features
- User-friendly interface with a clean and intuitive design.
- Interactive input field to enter text for language learning practice.
- AI-powered response generation for immediate feedback.
- Supports multiple foreign languages (specify the desired languages in the model configuration).
- Adjustable token limit to control the length of generated responses.
- Utilizes OpenAI's advanced language models (e.g., GPT-3 or GPT-4) for accurate and contextually appropriate responses.

## Getting Started
To run the Foreign-Language Private Tutor application locally, follow these steps:

1. Clone this repository:
```bash
git clone https://github.com/your-username/foreign-language-tutor.git
```

2. Install the required dependencies:
```bash
pip install -r requirements.txt
```

3. Obtain an API key from OpenAI by signing up at their website (https://www.openai.com/) and creating an account.

4. Set your OpenAI API key as an environment variable:
```bash
export OPENAI_API_KEY=your-api-key
```

5. Run the Streamlit application:
```bash
streamlit run LingoChat.py
```

6. Open your web browser and navigate to http://localhost:8501 to access the Foreign-Language Private Tutor application.

## Configuration
You can customize the application by modifying the following parameters in the `tutor_app.py` file:

- `engine`: Specify the OpenAI language model you want to use (e.g., "davinci" for GPT-3).
- `max_tokens`: Set the maximum number of tokens for the generated response.

## Feedback and Contributions
Feedback, suggestions, and contributions are welcome! If you encounter any issues or have ideas for improvements, please submit an issue or pull request in this repository.

## License
This project is licensed under the [MIT License](LICENSE).

## Acknowledgments
- This project utilizes OpenAI's powerful language models.
- The Streamlit library is used to create the interactive web application.

```

Feel free to customize the content to fit your specific project details. Make sure to update the installation instructions and provide proper credit to the tools and libraries you are utilizing.