This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user