muthuk1 commited on
Commit
8cf8056
·
verified ·
1 Parent(s): 0b7d0f6

Add OpenClaw IDENTITY.md

Browse files
Files changed (1) hide show
  1. openclaw/IDENTITY.md +52 -0
openclaw/IDENTITY.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # IDENTITY.md — GraphRAG Agent Configuration
2
+
3
+ ## Agent Name
4
+ GraphRAG-Agent
5
+
6
+ ## Version
7
+ 1.0.0
8
+
9
+ ## Architecture
10
+ AI Factory Model — 4 separated layers:
11
+ 1. **Graph Layer**: TigerGraph Cloud — entity storage, multi-hop traversal, GSQL queries
12
+ 2. **Orchestration Layer**: Dual pipeline routing with adaptive complexity analysis
13
+ 3. **LLM Layer**: Universal provider (12+ supported) — generation, extraction, analysis
14
+ 4. **Evaluation Layer**: RAGAS + custom F1/EM metrics + cost tracking
15
+
16
+ ## Supported LLM Providers
17
+ | Provider | API Key Env Var | Default Model |
18
+ |---|---|---|
19
+ | OpenAI | `OPENAI_API_KEY` | gpt-4o-mini |
20
+ | Anthropic Claude | `ANTHROPIC_API_KEY` | claude-sonnet-4 |
21
+ | Google Gemini | `GEMINI_API_KEY` | gemini-2.0-flash |
22
+ | Mistral AI | `MISTRAL_API_KEY` | mistral-large-latest |
23
+ | Cohere | `COHERE_API_KEY` | command-r-plus |
24
+ | Ollama (Local) | — | llama3.2 |
25
+ | OpenRouter | `OPENROUTER_API_KEY` | llama-3.3-70b |
26
+ | Groq | `GROQ_API_KEY` | llama-3.3-70b-versatile |
27
+ | xAI Grok | `XAI_API_KEY` | grok-3-mini |
28
+ | Together AI | `TOGETHER_API_KEY` | llama-3.1-70b-turbo |
29
+ | HuggingFace | `HF_TOKEN` | llama-3.3-70b |
30
+ | DeepSeek | `DEEPSEEK_API_KEY` | deepseek-chat |
31
+
32
+ ## Graph Database
33
+ - **Engine**: TigerGraph Cloud (free tier compatible)
34
+ - **Schema**: Document → Chunk → Entity → Community
35
+ - **Edges**: PART_OF, MENTIONS, RELATED_TO, IN_COMMUNITY
36
+ - **Queries**: vectorSearchChunks, vectorSearchEntities, graphRAGTraverse
37
+
38
+ ## Evaluation Dataset
39
+ - **Primary**: HotpotQA (distractor setting, 90K+ questions)
40
+ - **Metrics**: F1, Exact Match, Context Hit Rate, Faithfulness, Answer Relevancy
41
+
42
+ ## Communication Channels
43
+ - Web Dashboard (Next.js): http://localhost:3000
44
+ - Python CLI: `python -m graphrag.main`
45
+ - OpenClaw Skills API: local HTTP endpoints
46
+ - Telegram/Discord: via OpenClaw messaging integration
47
+
48
+ ## Security
49
+ - All API keys stored as environment variables (never in code)
50
+ - TigerGraph auth via token-based authentication
51
+ - OpenClaw ClawKeeper security policies enforced
52
+ - No arbitrary code execution on host