c889a57b6b
Test Suites / Build CI Environment (push) Has been cancelled
Test Suites / Basic Tests (push) Has been cancelled
Test Suites / End-to-End Tests (push) Has been cancelled
Test Suites / CLI Tests (push) Has been cancelled
Test Suites / Slow End-to-End Tests (push) Has been cancelled
Test Suites / Graph Database Tests (push) Has been cancelled
Test Suites / Vector DB Tests (push) Has been cancelled
Test Suites / Temporal Graph Test (push) Has been cancelled
Test Suites / Search Test on Different DBs (push) Has been cancelled
Test Suites / Example Tests (push) Has been cancelled
Test Suites / Notebook Tests (push) Has been cancelled
Test Suites / OS and Python Tests Ubuntu (push) Has been cancelled
Test Suites / OS and Python Tests Extended (push) Has been cancelled
Test Suites / LLM Test Suite (push) Has been cancelled
Test Suites / S3 File Storage Test (push) Has been cancelled
Test Suites / Run Integration Tests (push) Has been cancelled
Test Suites / MCP Tests (push) Has been cancelled
Test Suites / Docker Compose Test (push) Has been cancelled
Test Suites / Docker CI test (push) Has been cancelled
Test Suites / Relational DB Migration Tests (push) Has been cancelled
Test Suites / Distributed Cognee Test (push) Has been cancelled
Test Suites / DB Examples Tests (push) Has been cancelled
Test Suites / Test Completion Status (push) Has been cancelled
Test Suites / Claude Code Review (push) Has been cancelled
Test Suites / basic checks (push) Has been cancelled
build | Build and Push Cognee MCP Docker Image to dockerhub / docker-build-and-push (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
build | Build and Push Docker Image to dockerhub / docker-build-and-push (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges Core Functionality (3.11) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges Core Functionality (3.12) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges with Different Graph Databases (kuzu, kuzu) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges with Different Graph Databases (neo4j, neo4j) (push) Has been cancelled
Weighted Edges Tests / Test Weighted Edges Examples (push) Has been cancelled
Weighted Edges Tests / Code Quality for Weighted Edges (push) Has been cancelled
49 lines
2.2 KiB
Python
49 lines
2.2 KiB
Python
"""
|
|
CLI configuration and constants to avoid hardcoded values
|
|
"""
|
|
|
|
# CLI Constants
|
|
CLI_DESCRIPTION = "Cognee CLI - Manage your knowledge graphs and cognitive processing pipelines."
|
|
DEFAULT_DOCS_URL = "https://docs.cognee.ai"
|
|
|
|
# Command descriptions - these should match the actual command implementations
|
|
COMMAND_DESCRIPTIONS = {
|
|
"add": "Add data to Cognee for knowledge graph processing",
|
|
"search": "Search and query the knowledge graph for insights, information, and connections",
|
|
"cognify": "Transform ingested data into a structured knowledge graph",
|
|
"delete": "Delete data from cognee knowledge base",
|
|
"config": "Manage cognee configuration settings",
|
|
"datasets": "Manage datasets (list, create, inspect, status, delete)",
|
|
"agents": "Manage agents (create, list, get, delete, register, unregister, connections)",
|
|
"sessions": "View conversation sessions and Q&A history",
|
|
"feedback": "Add or remove feedback on session Q&A entries",
|
|
"memify": "Run the memory enrichment pipeline on a dataset",
|
|
"remember": "Ingest data and build the knowledge graph in a single call",
|
|
"recall": "Search the knowledge graph for relevant information",
|
|
"improve": "Enrich an existing knowledge graph with additional context and rules",
|
|
"forget": "Remove data from the knowledge graph",
|
|
"serve": "Connect to a Cognee instance (cloud or local)",
|
|
"upgrade": "Apply pending relational + data migrations (alembic-style; head or a revision)",
|
|
"downgrade": "Revert data migrations to a revision ('base' or a slug); rewrites data",
|
|
"stamp": "Set the stored migration revision WITHOUT running migrations (bookkeeping repair)",
|
|
"history": "List the data-migration chain, newest first",
|
|
"current": "Show each database's stamped migration revision (and last failure, if any)",
|
|
"push": "Upload a local dataset's knowledge graph to Cognee Cloud",
|
|
}
|
|
|
|
# Search type choices
|
|
SEARCH_TYPE_CHOICES = [
|
|
"GRAPH_COMPLETION",
|
|
"RAG_COMPLETION",
|
|
"CHUNKS",
|
|
"SUMMARIES",
|
|
"CODE",
|
|
"CYPHER",
|
|
]
|
|
|
|
# Chunker choices
|
|
CHUNKER_CHOICES = ["TextChunker", "LangchainChunker", "CsvChunker"]
|
|
|
|
# Output format choices
|
|
OUTPUT_FORMAT_CHOICES = ["json", "pretty", "simple"]
|