Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Result bar chart - #10

Merged
ilmarinen merged 2 commits into
devfrom
result-bar-chart
May 25, 2021
Merged

Result bar chart#10
ilmarinen merged 2 commits into
devfrom
result-bar-chart

Conversation

@ilmarinen

Copy link
Copy Markdown

Screen Shot 2021-05-24 at 1 19 30 PM

@jlemaJohn (Juan) Lema (jlema) linked an issue May 24, 2021 that may be closed by this pull request
@jlemaJohn (Juan) Lema (jlema) added this to the Eric Demo milestone May 24, 2021
@jlemaJohn (Juan) Lema (jlema) added the enhancement New feature or request label May 24, 2021
num_beams=num_beams)
analyzed_sentences = perspective_api_client.analyze_sentences(generated_sentences)
return {"text_generation_results": analyzed_sentences}
analyzed_sentences_with_ids = list(map(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to revert this when you merge your work with mine

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a look at the id generation code. So I think that we should use id's given to us from the backend as these might come from a DB down the line. I modified the constructor of the model you added so that it just takes the server side id.

@ilmarinen
ilmarinen merged commit a5f03d4 into devMay 25, 2021
@ilmarinen
ilmarinen deleted the result-bar-chart branch May 25, 2021 16:39
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bar chart component

3 participants

@ilmarinen@nking-1@jlema