Giter Site home page Giter Site logo

netvision's Introduction

NetVision - A GenAI Application for Networking Topology Image Analysis

This application leverages Streamlit and OpenAI's GPT-4V model to analyze networking topology images. It provides a user-friendly interface that allows users to upload images of network topologies and receive insights and analyses generated by the GPT-4V model.

Features

  • Upload interface for network topology images.
  • Real-time analysis of images using OpenAI's GPT-4V.
  • Interactive chat interface to discuss and query network topology features.
  • Session state management to maintain interaction history.

Application Demo

See the application in action:

Network Topology Visualization

Prerequisites

  • Python 3.12+
  • Poetry for dependency management
  • An OpenAI API key or Azure OpenAI deployment with vision support

Installation

Setting Up the Environment

  1. Clone the repository:

    git clone https://your-repository-url
    cd your-project-directory
  2. Install dependencies using Poetry:

    poetry install

Configuring the OpenAI API Key

  1. Create a .env file in the root directory of the project and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key
    
  2. Alternatively create a .env.azure and add your information such as:

    AZURE_OPENAI_API_KEY=<key>
    AZURE_OPENAI_ENDPOINT=<Azure endpoint URL>
    AZURE_OPENAI_API_VERSION=2024-02-15-preview
    AZURE_OPENAI_DEPLOYMENT=<your deployment name>

Running the Application

To run the Streamlit application, use Poetry to handle the environment:

poetry run streamlit run main.py

Navigate to http://localhost:8501 in your web browser to interact with the application. Upload your network topology images to receive detailed analyses and insights.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for how to contribute to this project.

License

This project is licensed under the Apache-2.0 - see the LICENSE file for details.

Acknowledgments

  • Streamlit for providing an excellent platform to build interactive apps.

Support

For support, open an issue in the GitHub repository or contact the project maintainers.

netvision's People

Contributors

benderscript avatar

Watchers

 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.