Stakeholders want to display field-level confidence scores for each extracted value in a guided dialog. However, the current implementation only stores a single confidence value per extraction turn, and this value gets overwritten on each subsequent turn.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // coisas que a gente pode fazer com listas | |
| // verificar a lista tem algum elemento | |
| // filtrar elementos da lista | |
| // transformar a lista em outra lista | |
| // verificar a lista tem algum elemento | |
| function elementoNaLista(lista, elemento) { | |
| var resultado = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def update_associated_rubrics | |
| updateable_rubrics.in_batches(of: 100).each do |relation| | |
| relation.transaction do | |
| relation.lock.each do |rubric| | |
| rubric.update_learning_outcome_criteria(self) | |
| end | |
| end | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import memoize from "memoize-one" | |
| const PostList = ({posts}) => ( | |
| posts.map(post => <Post post={post} />) | |
| ) | |
| class PostPage extends Component { | |
| state = { | |
| posts: [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const PostList = ({posts}) => ( | |
| posts.map(post => <Post post={post} />) | |
| ) | |
| class PostPage extends Component { | |
| state = { | |
| posts: [], | |
| category: "" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const PostList = ({posts}) => ( | |
| posts.map(post => <Post post={post} />) | |
| ) | |
| class PostPage extends Component { | |
| state = { | |
| posts: [] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const PostList = ({posts}) => ( | |
| posts.map(post => <Post post={post} />) | |
| ) | |
| class App extends Component { | |
| state = { | |
| posts: [] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://facebook.com/2073926166193100_2074950342757349 | |
| https://facebook.com/2224043794281497_2235248816494328 | |
| https://facebook.com/2231575163528360_2235237209828822 | |
| https://facebook.com/2073926166193100_2074924342759949 | |
| https://facebook.com/2231575163528360_2235068933178983 | |
| https://facebook.com/2073926166193100_2074835072768876 | |
| https://facebook.com/2073926166193100_2074808349438215 | |
| https://facebook.com/2224043794281497_2234994336519776 | |
| https://facebook.com/2213295828689627_2234986709853872 | |
| https://facebook.com/2045523635466848_2234923413193535 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Loading provider | |
| const LoadingContext = React.createContext({ | |
| pushLoading: () => {}, | |
| removeLoading: () => {}, | |
| }) | |
| class LoadingProvider extends Component { | |
| state = { | |
| loadingCount: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Controller | |
| SendEmailToUser.perform_async user.id | |
| # ... | |
| class SendEmailToUser | |
| include Sidekiq::Worker | |
| sidekiq_options :queue => :default, :retry => true, :backtrace => true |
NewerOlder