Serchio

cipher_env

Aug 3rd, 2025
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.77 KB | None | 0 0
  1. export CIPHER_LOG_LEVEL=debug
  2.  
  3. # Cipher LLM
  4. export OLLAMA_BASE_URL="http://localhost:11434"
  5.  
  6. # Cipher Cache Backend
  7. export STORAGE_CACHE_TYPE=redis              # redis, in-memory
  8. export STORAGE_CACHE_HOST=*********          # Redis server hostname
  9. export STORAGE_CACHE_PORT=6380               # Redis server port
  10. export STORAGE_CACHE_PASSWORD=               # Redis authentication (optional)
  11. export STORAGE_CACHE_DATABASE=0              # Redis database number (0-15)
  12.  
  13. # Cipher Database Backend
  14. export STORAGE_DATABASE_TYPE=postgres
  15. export STORAGE_DATABASE_HOST="******"
  16. export STORAGE_DATABASE_PORT="5430"
  17. export STORAGE_DATABASE_NAME="cipher_db"
  18. export STORAGE_DATABASE_USER="postgres"
  19. export STORAGE_DATABASE_PASSWORD="**************************"
  20. export STORAGE_DATABASE_SSL="false"
  21.  
  22. # Cipher Vector Storage
  23. export VECTOR_STORE_TYPE=milvus
  24. export VECTOR_STORE_HOST=**********
  25. export VECTOR_STORE_PORT=19530
  26. export VECTOR_STORE_COLLECTION=knowledge_memory
  27. export VECTOR_STORE_DIMENSION=1536                              # Embedding dimensions
  28. export REFLECTION_VECTOR_STORE_COLLECTION=reflection_memory     # Reflection collection
  29. export DISABLE_REFLECTION_MEMORY=false                          # Enable/disable reflection memory
  30.  
  31. # Cipher Memory Search Configuration
  32. export SEARCH_MEMORY_TYPE=both                          # knowledge, reflection, both
  33.  
  34. # Cipher  Knowledge Graph Configuration
  35. export KNOWLEDGE_GRAPH_ENABLED=true              # Enable knowledge graph features
  36. export KNOWLEDGE_GRAPH_TYPE=neo4j                # neo4j, in-memory
  37. export KNOWLEDGE_GRAPH_HOST=********            # Neo4j hostname
  38. export KNOWLEDGE_GRAPH_PORT=7687                 # Neo4j bolt port
  39. export KNOWLEDGE_GRAPH_USERNAME=neo4j            # Neo4j username
  40. export KNOWLEDGE_GRAPH_PASSWORD=**************
Advertisement
Add Comment
Please, Sign In to add comment