← 返回
AI智能 中文

Openclaw Skill Langchain Local

Run LangChain AI pipelines locally and offline using Ollama and phi4-mini for coding, devops, chat, or document-based queries without requiring cloud or API...
利用 Ollama 和 phi4-mini 在本地离线运行 LangChain AI 流程,支持编程、DevOps、聊天及文档查询,无需云服务或 API。
manojrammurthy
AI智能 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 576
下载
💾 14
安装
1
版本
#latest

概述

LangChain Local — Offline AI Chains with Ollama

Run LangChain pipelines locally using Ollama and phi4-mini (or any local model).

No API keys, no cloud, fully private and offline.

Requirements

  • Ollama installed and running (ollama serve)
  • phi4-mini pulled (ollama pull phi4-mini)
  • Python packages: pip install langchain langchain-ollama langchain-community

Modes

  • coding — Python/Django code generation (low temperature, precise)
  • devops — Linux/Nginx/Docker shell commands
  • chat — General conversation
  • rag — Document-grounded answers (context-aware)

Usage Examples

  • "Ask langchain-local to write a Django REST API view"
  • "Use langchain-local in devops mode to show how to check disk usage"
  • "Run langchain-local chat mode: explain what is RAG"
  • "Use langchain-local coding mode to write a PostgreSQL backup script"

Implementation

Execute: python3 ~/.openclaw/skills/langchain-local/main.py

Parameters

  • mode: coding | devops | chat | rag (default: coding)
  • query: Your question or instruction

Author

Manoj — https://github.com/manoj

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 22:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Django Claw

manojrammurthy
在任意已配置的Django项目中运行Django管理命令(如migrate、showmigrations、makemigrations、check、version、logs、readonly)或执行Django ORM查询。
★ 0 📥 837
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,677
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,058 📥 797,835