php-llm/llm-chain

Examples as E2E Tests

chr-hertel opened this issue ยท 5 comments

Would be interesting to run the examples as E2E tests. Would require tokens (not that problematic with secrets i guess) but also a clever way to execute and run assertions.

Maybe it's enough to have a proper exit code? ๐Ÿค”

What about prompting "Answer just with: OK" or a structured output?

Answer just with: OK

Huh, easy one - i Like ๐Ÿ‘

after integrating the example runner, this is not that urgent anymore, but basically that thing could be converted to a functional phpunit test - only important to execute those example parallel not sequentially