[feature]开发用户记忆详情的接口 * memory-summary: (69 commits squashed) - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - Merge branch 'memory-summary' of codeup.aliyun.com:redbearai/python/redbear-mem-open into memory-summary - [feature]Develop the relationship graph interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - Merge branch 'memory-summary' of codeup.aliyun.com:redbearai/python/redbear-mem-open into memory-summary - [feature]Develop the end_user/profile interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - [feature]Develop the end_user/profile interface - Merge branch 'memory-summary' of codeup.aliyun.com:redbearai/python/redbear-mem-open into memory-summary - [updated]Base change operation - [refactor]1.Convert timestamp;2.Remove unnecessary code - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - [feature]Develop the end_user/profile interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [feature]Develop the relationship graph interface - [feature]Develop the end_user/profile interface - [updated]Base change operation - [refactor]1.Convert timestamp;2.Remove unnecessary code - Merge branch 'memory-summary' of codeup.aliyun.com:redbearai/python/redbear-mem-open into memory-summary - [check]check_code.py checks the quality of the code - [fix]Fix insecure database connections - [refactor]refactor memory_storage_controller and memory_storage_service - [add]The /total_memory_count interface returns the "name" field. - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - [feature]Develop the end_user/profile interface - [feature]Memory Insights and User Summary Cache Storage Ingestion - [feature]Develop the relationship graph interface - [feature]Develop the end_user/profile interface - [updated]Base change operation - [refactor]1.Convert timestamp;2.Remove unnecessary code - [feature]Memory Insights and User Summary Cache Storage Ingestion - [featrue]Develop a memory classification interface - [feature]Develop the relationship graph interface - [feature]Develop the end_user/profile interface - [updated]Base change operation - [refactor]1.Convert timestamp;2.Remove unnecessary code - [check]check_code.py checks the quality of the code - [fix]Fix insecure database connections - [refactor]refactor memory_storage_controller and memory_storage_service - [add]The /total_memory_count interface returns the "name" field. - Merge branch 'memory-summary' of codeup.aliyun.com:redbearai/python/redbear-mem-open into memory-summary - [refactor]Reconstruct the user's memory location - add uv.lock Signed-off-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com> Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com> Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com> CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/31
93 lines
1.7 KiB
Plaintext
93 lines
1.7 KiB
Plaintext
|
|
# Neo4j Configuration (记忆系统数据库)
|
|
NEO4J_URI=
|
|
NEO4J_USERNAME=
|
|
NEO4J_PASSWORD=
|
|
|
|
|
|
# Postgres Database configuration
|
|
DB_HOST=
|
|
DB_PORT=
|
|
DB_USER=
|
|
DB_PASSWORD=
|
|
DB_NAME=
|
|
|
|
# Database Migration Configuration
|
|
# Set to true to automatically upgrade database schema on startup
|
|
DB_AUTO_UPGRADE=true
|
|
|
|
|
|
|
|
# Redis configuration
|
|
REDIS_HOST=
|
|
REDIS_PORT=
|
|
REDIS_DB=
|
|
REDIS_PASSWORD=password
|
|
|
|
#celery
|
|
BROKER_URL=
|
|
RESULT_BACKEND=
|
|
CELERY_BROKER=
|
|
CELERY_BACKEND=
|
|
|
|
# Memory Cache Regeneration Configuration
|
|
# Interval in hours for regenerating memory insight and user summary cache
|
|
# Default: 24 hours
|
|
MEMORY_CACHE_REGENERATION_HOURS=24
|
|
|
|
# ElasticSearch configuration
|
|
ELASTICSEARCH_HOST=
|
|
ELASTICSEARCH_PORT=
|
|
ELASTICSEARCH_USERNAME=
|
|
ELASTICSEARCH_PASSWORD=
|
|
ELASTICSEARCH_VERIFY_CERTS=
|
|
ELASTICSEARCH_CA_CERTS=
|
|
ELASTICSEARCH_REQUEST_TIMEOUT=
|
|
ELASTICSEARCH_RETRY_ON_TIMEOUT=
|
|
ELASTICSEARCH_MAX_RETRIES=
|
|
|
|
# xinference configuration
|
|
XINFERENCE_URL=
|
|
|
|
# LangSmith configuration
|
|
LANGCHAIN_TRACING_V2=
|
|
LANGCHAIN_TRACING=
|
|
LANGCHAIN_API_KEY=
|
|
LANGCHAIN_ENDPOINT=
|
|
|
|
# This key is used for signing JWT tokens.
|
|
# It should be a long, random string and kept secret.
|
|
# Generate a new one with: openssl rand -hex 32
|
|
SECRET_KEY=your-secret-key-here-generate-with-openssl-rand-hex-32
|
|
|
|
# JWT Token expiration settings
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# Single Sign-On configuration
|
|
ENABLE_SINGLE_SESSION=
|
|
|
|
# File Upload
|
|
MAX_FILE_SIZE=52428800 # 50MB:10 * 1024 * 1024
|
|
FILE_PATH=/files
|
|
|
|
# VOLC ASR
|
|
VOLC_APP_KEY=
|
|
VOLC_ACCESS_KEY=
|
|
VOLC_SUBMIT_URL=
|
|
VOLC_QUERY_URL=
|
|
|
|
# Server Configuration
|
|
SERVER_IP=127.0.0.1
|
|
|
|
|
|
web_search=
|
|
KB_embedding_id=
|
|
KB_reranker_id=
|
|
KB_llm_id=
|
|
KB_image2text_id=
|
|
|
|
config_id=
|
|
reranker_id=
|
|
|