Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides local LLM integration via Ollama for querying models, generating manuscript reviews, and validating outputs.
14% 95%+82 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 3 of 22 without it.
What is the command-line command to send a query string directly to the local LLM using docxology's CLI module via uv?
Uses uv run python -m infrastructure.llm query
3 of 3 safety checks passed
Local Large Language Model integration for research assistance via Ollama.
flowchart LR
LLM[llm/]
LLM --> CORE[core<br/>client · config · context]
LLM --> TPL[templates<br/>prompt templates for research]
LLM --> VAL[validation<br/>output quality validation]
LLM --> RV[review<br/>manuscript review generation]
LLM --> PR[prompts<br/>fragment composition system]
LLM --> UT[utils<br/>Ollama server management]
LLM --> CLI[cli<br/>command-line interface]
classDef d fill:#0f172a,stroke:#0f172a,color:#fff
classDef pkg fill:#1e3a8a,stroke:#0f172a,color:#fff
class LLM d
class CORE,TPL,VAL,RV,PR,UT,CLI pkg
core/client.py)from infrastructure.llm import LLMClient, OllamaClientConfig, GenerationOptions
# Initialize with defaults
client = LLMClient()
# Custom configuration
config = OllamaClientConfig(default_model="gemma3:4b", temperature=0.7)
client = LLMClient(config)
# Generate a response
response = client.query(
"Summarize this paper...",
options=GenerationOptions(
max_tokens=2000,
Next to this one in the catalogue, plus more from the same author.