Elffuss BraidHub

kikocis/gaiax-credentials-chat-helper public

main · 4.2 KiBSourceRawPermalink

Gaia-X Credential Serice Assistant

This project was created for the Gaia-X Hackathon December 2024, responding to the challenges proposed by Aire Networks and CTIC.

DISCLAIMER: This is NOT an official Gaia-X tool or implementation. This project was created as part of a hackathon challenge and should be considered a proof of concept only. It is not endorsed by or affiliated with Gaia-X AISBL or any official Gaia-X initiative.

This project was created for the Gaia-X Hackathon December 2024, responding to the challenges proposed by Aire Networks and CTIC.

Hackathon Challenge Context

This solution addresses the Professional Challenge: Automatic Generation of Gaia-X Self-Descriptions, focusing on:

The assistant is designed to help developers and technical teams working with Gaia-X implementations by providing expert guidance and automated analysis of technical issues.

Technical Solution

This is a specialized chat assistant powered by Ollama and the qwen2.5:1.5b model, providing expert guidance on:

Prerequisites

Setup Instructions

  1. Install Ollama: Follow the instructions at Ollama's official website.

  2. Pull the qwen2.5:1.5b model:

    ollama pull qwen2.5:1.5b
    
  3. Install Python dependencies:

    pip install -r requirements.txt
    

Running the Assistant

API Mode

To run the assistant in API mode, execute the following command:

python main.py --mode api

The API will be available at http://localhost:8000. You can use the /analyze-output endpoint to analyze error messages.

Console Mode

To interact with the assistant via the console, use:

python main.py --mode console

Type your questions directly into the console. Type 'exit' to end the session.

Web Mode

To run the assistant with a web interface, use:

python main.py --mode web

Access the web interface at http://localhost:8000.

Important Notes

Challenge Objectives Addressed

  1. Automatic Self-Description Generation

    • Integration with OpenAPI/AsyncAPI specifications
    • Automatic metadata extraction
    • JSON-LD format compliance
  2. Let's Encrypt Integration

    • Support for automated certificate management
    • Integration with v1-staging branch of GXDCH
    • Clear handling of EV-SSL vs non-EV-SSL certificates
  3. Technical Documentation

    • Comprehensive error analysis
    • Clear guidance on technical implementations
    • Integration support for Verifiable Credentials

Evaluation Criteria Met

Troubleshooting

References

Hackathon Information

This project was developed as part of the Gaia-X Hackathon (December 2024), addressing the Professional Challenge proposed by Aire Networks and CTIC for the automatic generation of Gaia-X Self-Descriptions.

Authors