CoolFace
Apppublic

mysketches/llmstxt

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
App README

Documentation Registry Gradio App

This Gradio application provides a simple interface to browse and retrieve documentation entries from a registry defined in a local JSON file (llms.json). The app offers two main features:

  • —Load Registry: View the entire contents of the documentation registry in a formatted JSON view. This helps users see all available documentation entries, including their IDs, descriptions, and URLs.
  • —Search Documentation by ID: Enter a specific registry ID to fetch and display the corresponding documentation content. The app retrieves the documentation from the URL associated with the provided ID.

Features

  • —User-friendly web interface built with Gradio.
  • —Registry entries are loaded from a local llms.json file.
  • —Documentation content is fetched live from the URLs specified in the registry.
  • —Error handling for missing files, invalid JSON, and network issues.
  • —Custom styling for search results.

How to Use

After the MCP server is loaded inside of your IDE, just ask it for some documentation, using prompts like this one:

text
I need documentation about Langgraph. In particular, I need to understand how to use cron jobs with the LangGraph Platform

Running the App

To launch the app, run:

bash
python app.py

The app will be available on port 7860.