Giter VIP home page Giter VIP logo

maxmlang / lightningai-styleguide-assistant Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 271 KB

The Lightning ⚡️ AI Style Guide Assistant & Code Translator is a specialized adaptation of the Lightning Chatbot, designed to assist in maintaining consistency and accuracy in style guides. Leveraging Groq LPUs, it provides real-time style and grammar recommendations, making it an essential tool for editors and writers.

Home Page: https://lightningai-styleguide-assistant.streamlit.app/

License: MIT License

Python 100.00%
ai chatgpt chatgpt-code-generation chatgpt-programming code-formatter groq lpu-python style-guide code-translator codetranslation

lightningai-styleguide-assistant's Introduction

Lightning ⚡️ AI Style Guide Assistant & Code Translator

Supports Meta AI's new Llama 3 Model!

AI Style Guide Assistant Logo

GitHub Stars GitHub Issues GitHub Pull Requests

The Lightning ⚡️ AI Style Guide Assistant is a specialized adaptation of the Lightning Chatbot, designed to assist in maintaining consistency and accuracy in code. Powered by Groq LPUs (Language Processing Units), it offers one of the fastest inference speeds on the market as of April 2024.

Features

  • ⚡ Real-time style and grammar recommendations powered by Groq LPUs.
  • 📘 Supports custom style guide integration for personalized recommendations.
  • 📝 Lightning fast style guide rewrites and code translation
  • 🌐 Deploy easily using the Streamlit web framework.

Available Models

  • 🦙 Llama3-70B-8192: Experience high-end performance with this large-scale model, ideal for complex language tasks and deep learning insights.
  • 🦙 Llama3-8B-8192: Harness robust capabilities with this more accessible version of Llama3, perfect for a wide range of AI applications.
  • 🌟 Mixtral-8x7B-32768: Leverage the power of ensemble modeling with Mixtral's extensive capacity for nuanced understanding and response generation.
  • 🦙 Llama2-70B-4096: Utilize the proven effectiveness of Llama2 for comprehensive language processing and application development.
  • 💎 Gemma-7B-IT: Explore specialized interactions and tech-focused solutions with Gemma, tailored for IT and technical content.

Installation

  1. Clone the repository:

    git clone https://github.com/MaxMLang/lightningAI-styleguide-assistant.git
    
  2. Navigate to the project directory:

    cd lightningAI-styleguide-assistant
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Configure the Groq API key:

    • Create a .env file in the project directory.
    • Add the following line, replacing your_api_key with your actual Groq API key:
      GROQ_API_KEY=your_api_key
      
  5. Launch the assistant:

    streamlit run app.py
    
  6. Open the provided URL in your browser to access the AI Style Guide Assistant interface.

Usage

  1. Select your custom style guide settings from the sidebar.
  2. Type a block of text into the input field and submit.
  3. Receive style and grammar recommendations based on your settings.
  4. Apply or dismiss suggestions and see the edits in real-time.
  5. Continue refining your text with further input and revisions.

License

This project is licensed under the MIT License.

Acknowledgements

  • Groq for the cutting-edge LPUs.
  • Langchain for robust language modeling tools.
  • Streamlit for the user-friendly web application framework.

lightningai-styleguide-assistant's People

Contributors

maxmlang avatar

Stargazers

 avatar  avatar  avatar  avatar  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.