feat: add MongoDB test generation and update dependencies
- Added pymongo==3.13.0 to requirements.txt for MongoDB connectivity - Implemented generate_summarization_from_mongo.py script to generate summarization tests from MongoDB - Updated run.sh to support 'gen-mongo' command for MongoDB test generation - Enhanced scripts/README.md with documentation for new MongoDB functionality - Improved help text in run.sh to clarify available commands and usage examples ``` This commit adds MongoDB integration for test generation and updates the documentation and scripts accordingly.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"prompt": "Translate the following English text to Russian: 'Hello, how are you today?'",
|
||||
"expected": "Привет, как дела сегодня?"
|
||||
}
|
||||
3
tests/translation/test1.txt
Normal file
3
tests/translation/test1.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Translate the following English text to Russian: 'Hello, how are you today?'
|
||||
==============
|
||||
Привет, как дела сегодня?
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"prompt": "Translate the following Russian text to English: 'Как ваши дела?'",
|
||||
"expected": "How are you?"
|
||||
}
|
||||
3
tests/translation/test2.txt
Normal file
3
tests/translation/test2.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Translate the following Russian text to English: 'Как ваши дела?'
|
||||
==============
|
||||
How are you?
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"prompt": "Translate the following English text to Russian: 'What time is it right now?'",
|
||||
"expected": "Который сейчас час?"
|
||||
}
|
||||
3
tests/translation/test3.txt
Normal file
3
tests/translation/test3.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Translate the following English text to Russian: 'What time is it right now?'
|
||||
==============
|
||||
Который сейчас час?
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"prompt": "Translate the following English text to Russian: 'What time is it right now?'",
|
||||
"expected": "Который сейчас час?"
|
||||
}
|
||||
3
tests/translation/test4.txt
Normal file
3
tests/translation/test4.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Translate the following English text to Russian: 'What time is it right now?'
|
||||
==============
|
||||
Который сейчас час?
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"prompt": "Translate the following English text to Russian: '\"The sun is shining brightly.\"'",
|
||||
"expected": "Солнце светит ярко."
|
||||
}
|
||||
3
tests/translation/test5.txt
Normal file
3
tests/translation/test5.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Translate the following English text to Russian: '"The sun is shining brightly."'
|
||||
==============
|
||||
Солнце светит ярко.
|
||||
Reference in New Issue
Block a user