Skip to content
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

Feat feedback relations v1 #604

Conversation

cm-liushaodong
Copy link
Contributor

feat: prompt manage support

  1. Support score feedback
  2. Add method to return topk document source

1. Support score feedback
2. Add method to return topk document source
1. Support score feedback
2. Add method to return topk document source
1. Support score feedback
2. Add method to return topk document source
1. Support score feedback
2. Add method to return topk document source
if extra:
raise KeyError(extra)
for item_arg in used_args:
if item_arg not in set(kwargs):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will have an impact on the global prompt template field verification. Can you consider the template_is_strict field of PromptTemplate to configure the prompt template to only take effect in a knowledge scene?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I've implemented it here, #608

@cm-liushaodong
Copy link
Contributor Author

Ok, I've implemented it here, #608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants