GeneralBots / BotServer

LLM Orchestrator powered by langchain and Bot Framework V4 & several features including Whatsapp.
https://gb.pragmatismo.cloud
Other
61 stars 37 forks source link

Auto NLP for .gbdialog #217

Closed rodrigorodriguez closed 8 months ago

rodrigorodriguez commented 2 years ago

$variables extracted from tabular files containing parenthesis in questions will be handled as entities.

.gbkb

question answer
Quero comer batata(refeição). pedido.docx
Quero batata com arroz(refeição) pedido.docx

.gbdialog

pedido.docx recebendo "Quero comer batata"

TALK "Você pediu $refeição!"

SAVE "orders.xlsx", username, today, now, $refeição

Um refeição.xlsx pode ser adicionado ao .gbdata para conter a lista de valores da entidade, adicionalmente, já que a lista conhecida inferida do .gbkb pode ser o suficiente..

.gbdata

refeição. xlsx

title
Feijão
Macarrão
rodrigorodriguez commented 2 years ago

https://duckling.wit.ai/

rodrigorodriguez commented 2 years ago

https://user-images.githubusercontent.com/14840374/172248218-afe44622-e0cc-4f0a-98df-f9adfcfe38b5.mp4