Discover and explore top open-source AI tools and projects—updated daily.
fleet-aiCLI tool & API for Python library Q/A and code generation
Top 58.2% on SourcePulse
Fleet Context is a CLI tool and API designed to provide question-answering and code generation capabilities over the documentation of over 1200 Python libraries. It targets developers seeking up-to-date information and code examples for Python packages, offering significant improvements in AI model generation scores by leveraging rich, structured metadata.
How It Works
The tool utilizes a vector database populated with embeddings generated from Python library documentation. It employs a retrieval-augmented generation (RAG) approach, fetching relevant documentation chunks based on user queries. The system's advantage lies in its comprehensive metadata, including library_id, page_id, section_index, type (e.g., class, function), and original Markdown-formatted text, which allows for sophisticated filtering, re-ranking, and prompt construction to enhance AI response quality.
Quick Start & Requirements
pip install fleet-contextcontext for CLI, or from context import download_embeddings, query for API.Highlighted Details
section_index and filtering by type.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README does not specify the license, making commercial use and closed-source integration uncertain. Metadata type is not guaranteed for all libraries, particularly those not using Sphinx/readthedocs for documentation generation.
2 years ago
Inactive
freedmand
developersdigest
run-llama