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

Added references to TestResult model #203

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Added references to TestResult model #203

merged 1 commit into from
Jul 11, 2023

Conversation

GokulramGHV
Copy link
Member

fixes #201

@vercel
Copy link

vercel bot commented Jul 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ayushma ✅ Ready (Inspect) Visit Preview Jul 10, 2023 10:22am

@skks1212 skks1212 merged commit f33b87a into master Jul 11, 2023
2 checks passed
Comment on lines 94 to +96
test_result.save()

test_result.references.set(ai_response.reference_documents.all())
test_result.save()
Copy link
Member

Choose a reason for hiding this comment

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

Why are we calling test_result.save() twice? can the former call be removed?

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.

Show references in test results
3 participants