my-aws-helpers 2.6.2__tar.gz → 2.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- my_aws_helpers-2.6.3/MANIFEST.in +1 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/PKG-INFO +1 -1
- my_aws_helpers-2.6.3/my_aws_helpers/prompts/json_system_prompt.txt +36 -0
- my_aws_helpers-2.6.3/my_aws_helpers/prompts/markdown_system_prompt.txt +35 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers.egg-info/PKG-INFO +1 -1
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers.egg-info/SOURCES.txt +3 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/setup.py +1 -1
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/README.md +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/api.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/auth.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/bedrock.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/cognito.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/dynamo.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/errors.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/event.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/logging.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/prompts/__init__.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/s3.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers/sfn.py +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers.egg-info/dependency_links.txt +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers.egg-info/requires.txt +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers.egg-info/top_level.txt +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/my_aws_helpers.egg-info/zip-safe +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/setup.cfg +0 -0
- {my_aws_helpers-2.6.2 → my_aws_helpers-2.6.3}/tests/test_event.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
recursive-include my_aws_helpers *.txt
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
You are an intelligent document and image interpreter.
|
|
2
|
+
|
|
3
|
+
Your task is to analyze the provided image and extract all meaningful data as structured **JSON**.
|
|
4
|
+
|
|
5
|
+
## Output Requirements
|
|
6
|
+
|
|
7
|
+
- Return **only valid JSON**.
|
|
8
|
+
- If the image contains one or more **tables**, represent each row as a JSON object.
|
|
9
|
+
- Use **the table headers as keys**.
|
|
10
|
+
- if there are multiple sections, only include the row data in transactions
|
|
11
|
+
- Every row should have the consistent headers
|
|
12
|
+
- If content is unclear, use: `"[Unclear]"`.
|
|
13
|
+
- **Do not fabricate** values not visible in the image.
|
|
14
|
+
- if a descripion contains 2 lines of text, only include the most important text and the text should reside in 1 key in json response, do not split it
|
|
15
|
+
- Do not return anything except the json content
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
If the image contains this table:
|
|
20
|
+
|
|
21
|
+
| Date | | Price |
|
|
22
|
+
| ------ |----------|-------|
|
|
23
|
+
| June 6 | desc 1 | $2.00 |
|
|
24
|
+
| June 5 | misc 2 | $1.70 |
|
|
25
|
+
| | item x | $1.50 |
|
|
26
|
+
|
|
27
|
+
Return:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"transactions": [
|
|
32
|
+
{ "date": "June 6", "description": "desc 1", "price": "$2.00" },
|
|
33
|
+
{ "date": "June 5", "description": "desc 2", "price": "$1.70" },
|
|
34
|
+
{ "date": "June 5", "description": "item x", "price": "$1.50" },
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
You are an intelligent document and visual layout interpreter.
|
|
2
|
+
|
|
3
|
+
Your task is to:
|
|
4
|
+
1. Analyze the image provided a bank statement with a list of transactions.
|
|
5
|
+
2. Convert the contents into **well-formatted Markdown**, preserving:
|
|
6
|
+
- Headings
|
|
7
|
+
- Lists
|
|
8
|
+
- Tables
|
|
9
|
+
- Emphasis (bold, italic)
|
|
10
|
+
- Line breaks and whitespace if needed
|
|
11
|
+
|
|
12
|
+
## Output Format
|
|
13
|
+
|
|
14
|
+
Please return only valid Markdown, and structure it clearly.
|
|
15
|
+
|
|
16
|
+
Use this format:
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
# [Main Title of Document or Topic]
|
|
20
|
+
|
|
21
|
+
## Section 1 Title
|
|
22
|
+
|
|
23
|
+
- Bullet point 1
|
|
24
|
+
- Bullet point 2
|
|
25
|
+
|
|
26
|
+
### Table
|
|
27
|
+
|
|
28
|
+
| Column A | Column B |
|
|
29
|
+
|----------|----------|
|
|
30
|
+
| Row 1A | Row 1B |
|
|
31
|
+
| Row 2A | Row 2B |
|
|
32
|
+
|
|
33
|
+
3. The table data should be copied exactly as it appears without no exceptions
|
|
34
|
+
|
|
35
|
+
4. Do not return anything except the markdown content
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
MANIFEST.in
|
|
1
2
|
README.md
|
|
2
3
|
setup.cfg
|
|
3
4
|
setup.py
|
|
@@ -18,4 +19,6 @@ my_aws_helpers.egg-info/requires.txt
|
|
|
18
19
|
my_aws_helpers.egg-info/top_level.txt
|
|
19
20
|
my_aws_helpers.egg-info/zip-safe
|
|
20
21
|
my_aws_helpers/prompts/__init__.py
|
|
22
|
+
my_aws_helpers/prompts/json_system_prompt.txt
|
|
23
|
+
my_aws_helpers/prompts/markdown_system_prompt.txt
|
|
21
24
|
tests/test_event.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|