Compare commits
No commits in common. "4cc97efebacba596db745a27a82f36fd41da2ea9" and "63cf3e713d0bf91ee020d2ae6b4a0f33dcc240af" have entirely different histories.
4cc97efeba
...
63cf3e713d
|
@ -40,5 +40,3 @@ htmlcov/
|
|||
data/local/
|
||||
data/temp/
|
||||
articles_konsol_pro/
|
||||
|
||||
scripts/
|
||||
|
|
|
@ -21,9 +21,8 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN mkdir -p /app/storage/chroma /app/data/ && \
|
||||
chown -R appuser:appuser /app && \
|
||||
chmod -R 755 /app/storage
|
||||
RUN mkdir -p /app/storage/chroma /app/data/articles_konsol_pro && \
|
||||
chown -R appuser:appuser /app
|
||||
|
||||
USER appuser
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ services:
|
|||
- PYTHONUNBUFFERED=1
|
||||
- PYTHONDONTWRITEBYTECODE=1
|
||||
volumes:
|
||||
- ./storage/chroma:/app/storage/chroma:rw
|
||||
- ./data:/app/data:ro
|
||||
- chroma_data:/app/storage/chroma
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/healthz"]
|
||||
interval: 30s
|
||||
|
@ -49,6 +49,3 @@ services:
|
|||
- no-new-privileges:true
|
||||
tmpfs:
|
||||
- /tmp:noexec,nosuid,size=100m
|
||||
|
||||
volumes:
|
||||
chroma_data:
|
||||
|
|
|
@ -5,7 +5,7 @@ from pydantic import Field, ConfigDict
|
|||
|
||||
class Settings(BaseSettings):
|
||||
llm_provider: Literal["openai", "gemini"] = "openai"
|
||||
llm_model: str = "gpt-4o"
|
||||
llm_model: str = "gpt-4o-mini"
|
||||
embedding_model: str = "text-embedding-3-large"
|
||||
|
||||
openai_api_key: str = Field(default="", json_schema_extra={"env": "OPENAI_API_KEY"})
|
||||
|
|
Loading…
Reference in New Issue