-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix/dff art skill #148
Fix/dff art skill #148
Conversation
Release v0.1.0
Release v0.1.1
Release v0.1.2
Release v0.1.3
Release v0.1.4
Release v0.1.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ты используешь новую версию dff, для нее используется папка common/dff
, другие - для старой версии dff.
annotations = user_uttr["annotations"] | ||
def extract_entity(ctx, entity_type): | ||
user_uttr: dict = ctx.misc.get("agent", {}).get("dialog", {}).get("human_utterances", [{}])[-1] | ||
annotations = user_uttr.get("annotations", {}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ты используешь новую версию dff, для нее используется папка common/dff
, другие - для старой версии dff.
if cur_wiki_page: | ||
wiki_page_content_list = memory.get("wiki_page_content", []) | ||
used_wiki_page_nums = shared_memory.get("used_wiki_page_nums", {}).get(cur_wiki_page, []) | ||
used_wiki_page_nums = wiki.get("used_wiki_page_nums", {}).get(cur_wiki_page, []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ты используешь новую версию dff, для нее используется папка common/dff
, другие - для старой версии dff.
def facts(vars): | ||
return provide_facts_request(vars) | ||
def facts(ctx, actor): | ||
return provide_facts_request(ctx, actor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ты используешь новую версию dff, для нее используется папка common/dff
, другие - для старой версии dff.
def response(vars): | ||
return provide_facts_response(vars, page_source, wiki_page) | ||
def response(ctx: Context, actor: Actor, *args, **kwargs): | ||
return provide_facts_response(ctx, actor, page_source, wiki_page) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ты используешь новую версию dff, для нее используется папка common/dff
, другие - для старой версии dff.
* format everything * make short summary shorter; add special formatting instructions for question answering * add part about analysing messages to PM prompt (Ira's request)
* Fix requirements.txt (#84) * fix itsdangerous requirements * pin itsdangerous requirements for all flask==1.1.1 servers * dff art skill fixes * dff art skill fixes * codestyle * codestyle * dff art skill fixes * dff art skill fixes * codestyle * codestyle * fix: remove speech funct * fix: use entities func * fix: tests for art skill * fix: no extra logs * move files * codestyle * updtea * fixes Co-authored-by: Andrii.Hura <54397922+AndriiHura@users.noreply.github.com> Co-authored-by: mtalimanchuk <mtalimanchuk@gmail.com> Co-authored-by: Dilyara Baymurzina <dilyara.rimovna@gmail.com>
dff_art_skill update dff version and fixes