2 Repos
Tools for isolating and extracting raw source code from AI-generated markdown responses.
Distinct from Code Formatting: Existing candidates focus on SMS or general formatting; this is specifically about stripping prose from AI output.
Explore 2 awesome GitHub repositories matching artificial intelligence & ml · Code Block Extractions. Refine with filters or upvote what's useful.
This project is a terminal-based command line interface client and agent orchestrator for interacting with multiple large language model providers. It functions as an OpenAI API client and a local API gateway that exposes chat completions and embeddings through an HTTP server. The system distinguishes itself by providing a retrieval-augmented generation tool for indexing local files and URLs into a vector database to provide custom document context. It allows for the creation of specialized AI agents that combine custom system prompts with tool calling and external function execution. The to
Strips away Markdown formatting and explanatory prose to output only the pure code portions of a response.
stack-overflow-import is a Python dynamic module loader and web-based code fetcher. It functions as a tool that retrieves code blocks from community answers on Stack Overflow and loads them as executable Python modules within a local environment. The project enables automated code snippet integration by fetching high-rated community solutions and importing them directly into the runtime. This allows for a workflow where external code is loaded as executable modules to facilitate the testing of snippets without manual copying and pasting.
Parses HTML or plain text from API responses to isolate executable code blocks using regex pattern matching.