23 lines
493 B
Python
23 lines
493 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 assistant.")
|
|
|
|
|
|
@pytest.fixture
|
|
def llm_session_captions_and_keywords():
|
|
from photools3.llm_session import LlmSessionCaptionsAndKeywords
|
|
|
|
return LlmSessionCaptionsAndKeywords()
|