Cover image
Try Now
2025-04-07

MCP服务器回答有关原始欧盟AI法案的问题

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

EU AI Act Compliance Chatbot

A chatbot designed to answer questions about the EU AI Act using a hybrid retrieval approach (vector search + knowledge graph).

Setup

  1. Install Poetry: If you don't have Poetry installed, follow the instructions here.
  2. Clone the repository:
    git clone <your-repo-url>
    cd eu-ai-act-chatbot
    
  3. Install dependencies:
    poetry install
    
  4. Set up environment variables:
    • Copy the .env.example file to .env:
      cp .env .env # Or .env.example if you rename the template
      
    • Fill in your API keys and service details in the .env file.
  5. Download the EU AI Act PDF: Place the PDF file in a data/ directory (you might need to create it) and name it eu_ai_act.pdf.

Processing Data

To process the EU AI Act document and populate the vector store and knowledge graph:

poetry shell
python -m scripts.process_eu_ai_act

Running the API

To run the FastAPI application locally:

poetry shell
uvicorn src.eu_ai_act_chatbot.api.main:app --reload

The API will be available at http://127.0.0.1:8000. You can access the interactive documentation at http://127.0.0.1:8000/docs.

Running Tests

poetry shell
pytest

Deployment (AWS Lambda)

  1. Create a deployment package:
    # Ensure dependencies are installed in the project's virtual env
    poetry install --no-dev
    
    # Create the package directory
    mkdir package
    
    # Install dependencies into the package directory
    poetry run pip install --upgrade pip
    poetry run pip install -r <(poetry export -f requirements.txt --without-hashes) --target ./package
    
    # Copy source code and Lambda handler
    cp -r ./src ./package/
    cp lambda_function.py ./package/
    
    # Create the zip file
    cd package
    zip -r ../deployment.zip .
    cd ..
    
  2. Upload deployment.zip to your AWS Lambda function.
  3. Ensure the Lambda function's handler is set to lambda_function.lambda_handler.
  4. Configure necessary environment variables in the Lambda function settings.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

    Reviews

    4 (1)
    Avatar
    user_C4yofSs5
    2025-04-17

    I have been using aicompliance_mcp by thoughtgeek and it has significantly streamlined our compliance processes. The seamless integration and intuitive interface make it an essential tool for any team looking to enhance their compliance measures efficiently. Highly recommend for anyone in the field!