Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: conversational_analytics : get_analytics function #2

Open
shivankurchavan opened this issue Aug 25, 2024 · 3 comments
Open

BUG: conversational_analytics : get_analytics function #2

shivankurchavan opened this issue Aug 25, 2024 · 3 comments

Comments

@shivankurchavan
Copy link

shivankurchavan commented Aug 25, 2024

Bug:
When we pass in feedback to LLM for pre-processing before displaying it on analytics, we expect response in 3 lines topic, sentiment, trend. If the response is not in the format of these three headers(ie if its less than 3 or more than 3 lines) the application throws error.

Solution:
we add some validator like a middleware where itll check for the 3 main sections required and remove the other unnecessary ones

Screenshot_2024-08-25_15-23-17
Screenshot_2024-08-25_15-23-52

@genieincodebottle
Copy link
Owner

genieincodebottle commented Aug 28, 2024

Thanks much Buddy. It's good catch. I will add validator. Is there any other issue you faced. I mean, Were you able to run this code?

@genieincodebottle genieincodebottle pinned this issue Aug 28, 2024
@shivankurchavan
Copy link
Author

Yes I was able to run this code.
I'd like to solve this issue and raise a PR if that's fine with you

@genieincodebottle
Copy link
Owner

Thanks much. That will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants