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

Feature/scorer #13

Merged
merged 5 commits into from
Apr 4, 2024
Merged

Feature/scorer #13

merged 5 commits into from
Apr 4, 2024

Conversation

armingh2000
Copy link
Owner

No description provided.

add FactScorer class:
	returns the score for facts of a generation with regard to a knowledge source
test_get_score_prompt_format:
	checks for prompt format based on its ending.

test_get_score_empty_input:
	if no atomic fact is provided, [] will be returned.

test_get_score_response_interpretation:
	checks is_supported assignment based on different input and support values defined in the @pytest.mark.parametrize above it.

test_error_handling_when_openai_agent_fails:
	openai exceptions must be handled.

test_complex_knowledge_source_and_atomic_facts:
	checks the type of output of the scorer and its elements.
@armingh2000 armingh2000 merged commit b9d463c into main Apr 4, 2024
18 checks passed
@armingh2000 armingh2000 deleted the feature/scorer branch April 4, 2024 23:53
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.

1 participant