dimagi / open-chat-studio

A web based platform for building Chatbots backed by Large Language Models
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Send test messages to a pipeline #895

Closed proteusvacuum closed 4 days ago

proteusvacuum commented 5 days ago

Description

Adds the ability to send test messages through a pipeline. This allows users to validate that the pipeline builds, and users can also visualize the outputs / inputs between each node.

User Impact

Users will have much faster feedback on what is happening within a pipeline.

Demo

https://github.com/user-attachments/assets/d2899b91-9896-4119-b6f8-938f054b56d6

image

Docs

codecov-commenter commented 5 days ago

Codecov Report

Attention: Patch coverage is 76.47059% with 16 lines in your changes missing coverage. Please review.

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
apps/pipelines/views.py 73.68% 5 Missing :warning:
apps/pipelines/models.py 20.00% 4 Missing :warning:
apps/pipelines/nodes/nodes.py 86.95% 3 Missing :warning:
apps/pipelines/nodes/base.py 85.71% 2 Missing :warning:
apps/pipelines/tasks.py 60.00% 2 Missing :warning:
Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!


🚨 Try these New Features:

bderenzi commented 5 days ago

Cool that we can see the path a message takes! Agreed with Simon that this looks useful and like a good starting point.

One other future thought is that we'll want to chat to individual nodes and/or subsets of the pipeline. Choosing an arbitrary start and end node would be useful.

sentry-io[bot] commented 4 days ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎