holoviz-topics / panel-chat-examples

Examples of Chat Bots using Panels chat features: Traditional, LLMs, AI Agents, LangChain, OpenAI etc
https://holoviz-topics.github.io/panel-chat-examples/
MIT License
105 stars 32 forks source link

Add load tests #12

Closed MarcSkovMadsen closed 11 months ago

MarcSkovMadsen commented 11 months ago

This PR builds on #11 and #26. Review those PRs first!

Works around #30

In order to keep the code best practice and recommendable we need to make sure the apps can load fast.

This will also make it much easier for us for example to deploy them to Hugging Face spaces as requested in https://github.com/ahuang11/panel-chat-examples/issues/9.

This PR adds load testing using Locust. See the updated README for details.

image

MarcSkovMadsen commented 11 months ago

I've merged with the current main branch and

codecov-commenter commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@d3b1d74). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12 +/- ## ====================================== Coverage ? 0.00% ====================================== Files ? 1 Lines ? 3 Branches ? 0 ====================================== Hits ? 0 Misses ? 3 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.