chore(@ml/imajin): 🔧 🛏️ update package.json and README.md
This commit is contained in:
parent
1b1174c319
commit
be996ec0a3
2 changed files with 54 additions and 0 deletions
20
services/imajin-prompt-generator/config.yaml
Normal file
20
services/imajin-prompt-generator/config.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Imajin Prompt Generator Configuration
|
||||
# Stage 2: SDXL Prompt Generation Service
|
||||
|
||||
# LLM backend (uses HTTP to connect to llama-http service)
|
||||
llm:
|
||||
backend: http
|
||||
model_id: ministral-14b-reasoning
|
||||
http_base_url: http://localhost:8202
|
||||
http_timeout: 180.0
|
||||
|
||||
# Service settings
|
||||
service:
|
||||
port: 8006
|
||||
host: 0.0.0.0
|
||||
|
||||
# GPU coordination settings (optional for Stage 2)
|
||||
gpu:
|
||||
redis_url: redis://localhost:6379
|
||||
priority: normal
|
||||
enabled: false # Stage 2 doesn't need GPU coordination (uses llama-http)
|
||||
34
services/imajin-prompt-generator/pyproject.toml
Normal file
34
services/imajin-prompt-generator/pyproject.toml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "imajin-prompt-generator"
|
||||
version = "1.0.0"
|
||||
description = "Stage 2: SDXL prompt generation service"
|
||||
authors = [{name = "Lilith"}]
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.32.0",
|
||||
"pydantic>=2.10.0",
|
||||
"pydantic-settings>=2.6.0",
|
||||
"httpx>=0.27.0",
|
||||
"pyyaml>=6.0.2",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0.0",
|
||||
"pytest-asyncio>=0.24.0",
|
||||
"pytest-cov>=6.0.0",
|
||||
"mypy>=1.10.0",
|
||||
"ruff>=0.8.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["service/src"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["service/tests"]
|
||||
asyncio_mode = "auto"
|
||||
Loading…
Add table
Reference in a new issue