Skip to content

Commit b1ef016

Browse files
committed
Fix Text fixtures in rag performance tests (add doc field)
- Add doc=None when constructing Text in large_chunk_set fixture - Prevents pydantic ValidationError: doc field required
1 parent aca99de commit b1ef016

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_rag_performance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def large_chunk_set():
3232
f"It contains information about host species, body sites, and sequencing methods. "
3333
f"Chunk number {i} has additional details.",
3434
name=f"chunk_{i}",
35+
doc=None,
3536
)
3637
)
3738
return chunks

0 commit comments

Comments
 (0)