15 lines
409 B
Python
15 lines
409 B
Python
from photools3.llm_session import LlmSession
|
|
from photools3.photo import Photo
|
|
from test.test_photo import PATHS_DNG_EXAMPLES
|
|
|
|
llm_session = LlmSession(system_prompt="You are a helpful assistent to photographer")
|
|
|
|
test_photo = Photo(PATHS_DNG_EXAMPLES[0])
|
|
|
|
|
|
def test_llm_session():
|
|
result = llm_session.call(
|
|
prompt="keywords for the attaches picture", photos=[test_photo]
|
|
)
|
|
assert result
|