Files
photools3/test/conftest.py
T
mathias2784 906707de55
Tests / test_and_lint (push) Successful in 11s
first successful run of photo llm (#11)
Reviewed-on: #11
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-02 08:16:20 +00:00

21 lines
466 B
Python

import pytest
from photools3.llm_session import LlmSession
from photools3.photo import Photo
from test.test_photo import PATHS_DNG_EXAMPLES
@pytest.fixture
def test_photo():
return Photo(PATHS_DNG_EXAMPLES[0])
@pytest.fixture
def llm_session():
return LlmSession(
system_prompt=(
"You are a helpful assistent to photographer. "
'Answer in JSON format: `{"caption": "...", "tags": ["tag1", "tag2", ...]}`'
)
)