dream

Форк
0

README.md

Fact Retrieval

Description

The service extracts facts (sentences) from Wikidata and topical chat based on the user's utterance. The facts are ranked using the dialog history (three last utterances).

I/O

Inpunt (an example of query)

requests.post("http://0.0.0.0:8100/model", json = {"human_sentences": ["Let's talk about Joe Biden."],
"dialog_history": ["What do you want to talk about? Let's talk about Joe Biden"],
"nounphr_list": ["Joe Biden"]}).json()

Output: [["Joseph Robinette Biden Jr. is an American politician who is serving as the 46th and current president of the United States.", "A member of the Democratic Party, he served as the 47th vice president from 2009 to 2017 under Barack Obama and represented Delaware in the United States Senate from 1973 to 2009."]]

Dependencies

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.