feat: enhance summarization prompt and improve MongoDB test generation

- Updated summarization prompt to require Russian output and exclude non-textual elements
- Upgraded ollama dependency to v0.6.1
- Enhanced run.sh script to support both single record and file-based ID input for MongoDB test generation
- Updated documentation in scripts/README.md to reflect new functionality
- Added verbose flag to generate_summarization_from_mongo.py for better debugging
```

This commit message follows the conventional commit format with a short title (50-72 characters) and provides a clear description of the changes made and their purpose.
This commit is contained in:
2026-01-23 03:49:22 +03:00
parent d8785ada8a
commit 2048e4e40d
234 changed files with 3268 additions and 72 deletions

View File

@@ -1 +1,18 @@
Summarize the following text in 1-2 sentences: '{text}'
Task: Produce a concise summary in Russian.
Input: A block of text that may be written in Russian or any other language. The text can contain code snippets, tables, and other nontextual elements.
Requirements:
Summarize the content of the input text.
The output must be only the summary, written entirely in Russian.
Exclude all code blocks, tables, images, links, and any formatting (no indentations, no bullet points, no headings).
The summary should be a single paragraph, as short as possible while still covering the main ideas.
Do not add any commentary, explanations, or additional text before or after the summary.
Example:
[User supplies text]
[Model outputs only the summary in Russian, no code or tables]
'{text}'