Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# ===================================
# Database Configuration
# ===================================
# For docker-compose
POSTGRES_USER=memu_user
POSTGRES_PASSWORD=memu_pass
POSTGRES_DB=memu_db

# For application
DATABASE_HOST=localhost
DATABASE_PORT=54320
DATABASE_USER=memu_user
DATABASE_PASSWORD=memu_pass
DATABASE_NAME=memu_db

# ===================================
# Temporal Configuration
# ===================================
TEMPORAL_HOST=localhost
TEMPORAL_PORT=17233
TEMPORAL_NAMESPACE=default

# ===================================
# LLM Configuration
# ===================================
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_BASE_URL=https://api.openai.com/v1
DEFAULT_LLM_MODEL=gpt-4o-mini

# ===================================
# Embedding Configuration
# ===================================
EMBEDDING_API_KEY=your_embedding_api_key_here
EMBEDDING_BASE_URL=https://api.voyageai.com/v1
EMBEDDING_MODEL=voyage-3.5-lite

# ===================================
# Storage Configuration
# ===================================
STORAGE_PATH=/var/data/memu-server
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
attributes:
value: |
Thanks for taking the time to report a bug! Please fill out the form below.

- type: textarea
id: description
attributes:
Expand All @@ -16,7 +16,7 @@ body:
placeholder: Describe the bug...
validations:
required: true

- type: textarea
id: reproduction
attributes:
Expand All @@ -28,7 +28,7 @@ body:
3. See error
validations:
required: true

- type: textarea
id: expected
attributes:
Expand All @@ -37,7 +37,7 @@ body:
placeholder: What should happen?
validations:
required: true

- type: textarea
id: actual
attributes:
Expand All @@ -46,7 +46,7 @@ body:
placeholder: What actually happened?
validations:
required: true

- type: textarea
id: environment
attributes:
Expand All @@ -58,7 +58,7 @@ body:
- memU-server Version: [e.g. 1.0.0]
validations:
required: false

- type: textarea
id: logs
attributes:
Expand All @@ -67,7 +67,7 @@ body:
render: shell
validations:
required: false

- type: textarea
id: additional
attributes:
Expand Down
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
attributes:
value: |
Thanks for suggesting a new feature! Please fill out the form below.

- type: textarea
id: problem
attributes:
Expand All @@ -16,7 +16,7 @@ body:
placeholder: I'm always frustrated when...
validations:
required: true

- type: textarea
id: solution
attributes:
Expand All @@ -25,7 +25,7 @@ body:
placeholder: I would like to have...
validations:
required: true

- type: textarea
id: alternatives
attributes:
Expand All @@ -34,7 +34,7 @@ body:
placeholder: Alternative approaches could be...
validations:
required: false

- type: textarea
id: benefits
attributes:
Expand All @@ -43,7 +43,7 @@ body:
placeholder: This feature would help users...
validations:
required: false

- type: textarea
id: additional
attributes:
Expand Down
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/improvement_suggestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
attributes:
value: |
Thanks for suggesting an improvement! Please fill out the form below.

- type: textarea
id: current
attributes:
Expand All @@ -16,7 +16,7 @@ body:
placeholder: Currently, the system...
validations:
required: true

- type: textarea
id: suggested
attributes:
Expand All @@ -25,7 +25,7 @@ body:
placeholder: It would be better if...
validations:
required: true

- type: textarea
id: rationale
attributes:
Expand All @@ -34,7 +34,7 @@ body:
placeholder: This would improve...
validations:
required: true

- type: textarea
id: impact
attributes:
Expand All @@ -43,7 +43,7 @@ body:
placeholder: This would affect...
validations:
required: false

- type: textarea
id: implementation
attributes:
Expand All @@ -52,7 +52,7 @@ body:
placeholder: This could be implemented by...
validations:
required: false

- type: textarea
id: additional
attributes:
Expand Down
156 changes: 41 additions & 115 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/_local/
/data
docs/source
config/secrets
.secrets/
node_modules
# From https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore

# Byte-compiled / optimized / DLL files
# Python
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
Expand All @@ -28,121 +16,59 @@ parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py
# Virtual Environment
venv/
env/
ENV/
.venv/

# Environments
# Environment Variables
.env
.env.dev
.env.prod
.env.local
.env.*.local
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
**/config/*.secret.py

# Spyder project settings
.spyderproject
.spyproject
# IDEs
.vscode/
.idea/
*.swp
*.swo
*~

# Rope project settings
.ropeproject
# Database
*.db
*.sqlite3
*.sql

# mkdocs documentation
/site
# Logs
*.log
logs/
server.log
nohup.out

# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Storage
storage/*
!storage/.gitkeep
data/

# Pyre type checker
.pyre/
# Alembic
alembic/versions/__pycache__/

# pytype static type analyzer
.pytype/
# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/

# Cython debug symbols
cython_debug/
# OS
.DS_Store
Thumbs.db

# Vscode config files
.vscode/
.claude/
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
# Docker
docker-compose.override.yml
.pre-commit-hooks/
.github/workflows/
Loading