pop-python 1.0.0__py3-none-any.whl → 1.0.3__py3-none-any.whl

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.
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "entity_extraction_per_sentence",
3
+ "type": "object",
4
+ "properties": {
5
+ "sentences": {
6
+ "type": "array",
7
+ "description": "A list of sentences with their extracted entities.",
8
+ "items": {
9
+ "$ref": "#/$defs/sentence"
10
+ }
11
+ }
12
+ },
13
+ "required": [
14
+ "sentences"
15
+ ],
16
+ "additionalProperties": false,
17
+ "$defs": {
18
+ "sentence": {
19
+ "type": "object",
20
+ "description": "An input sentence and the entities found in it.",
21
+ "properties": {
22
+ "text": {
23
+ "type": "string",
24
+ "description": "The original sentence text."
25
+ },
26
+ "entities": {
27
+ "type": "array",
28
+ "description": "List of extracted entities for this sentence.",
29
+ "items": {
30
+ "$ref": "#/$defs/entity"
31
+ }
32
+ }
33
+ },
34
+ "required": [
35
+ "text",
36
+ "entities"
37
+ ],
38
+ "additionalProperties": false
39
+ },
40
+ "entity": {
41
+ "type": "object",
42
+ "description": "A single extracted entity with its label.",
43
+ "properties": {
44
+ "text": {
45
+ "type": "string",
46
+ "description": "Surface form of the entity as it appears in the sentence."
47
+ },
48
+ "label": {
49
+ "type": "string",
50
+ "description": "The entity label; must be one of the allowed labels.",
51
+ "enum": [
52
+ "PERSON",
53
+ "ORG",
54
+ "LOCATION",
55
+ "GPE",
56
+ "FACILITY",
57
+ "EVENT",
58
+ "WORK_OF_ART",
59
+ "LAW",
60
+ "LANGUAGE",
61
+ "PRODUCT",
62
+ "SOFTWARE",
63
+ "DATASET",
64
+ "TECHNOLOGY",
65
+ "SCIENTIFIC_TERM",
66
+ "METHOD",
67
+ "CONCEPT",
68
+ "TOPIC",
69
+ "FIELD",
70
+ "MEASURE",
71
+ "QUANTITY",
72
+ "PERCENT",
73
+ "MONEY",
74
+ "VALUE",
75
+ "DATE",
76
+ "TIME",
77
+ "DURATION",
78
+ "DOCUMENT",
79
+ "URL",
80
+ "ID",
81
+ "OTHER"
82
+ ]
83
+ }
84
+ },
85
+ "required": [
86
+ "text",
87
+ "label"
88
+ ],
89
+ "additionalProperties": false
90
+ }
91
+ }
92
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pop-python
3
- Version: 1.0.0
3
+ Version: 1.0.3
4
4
  Summary: Prompt Oriented Programming (POP): reusable, composable prompt functions for LLMs.
5
5
  Home-page: https://github.com/sgt1796/POP
6
6
  Author: Guotai Shen
@@ -0,0 +1,26 @@
1
+ POP/Embedder.py,sha256=KSqneJNdpkE5_b82AHhpXRXAD9DYt9bads6oMcvDIoM,10165
2
+ POP/LLMClient.py,sha256=gFEDUaLba_G0nlpS9qj-ajDhryDuBDztPPF3qhQG7Vg,15449
3
+ POP/POP.py,sha256=b99m3kq298QldMm-Zv09ov2LoJL6n-aG3Z0CRC8dQps,15936
4
+ POP/__init__.py,sha256=aHsN8USyF18G_8Pr3h49SClWywy0y1h5-63u_OSXBQM,429
5
+ POP/prompts/2024-11-19-content_finder.md,sha256=ncMkvL6xUgYDhSXEPGTw5rnYF3b2Gq1nRyAVdaLaNGA,2238
6
+ POP/prompts/2024-11-19-get_content.md,sha256=vQhkGBX5Doj4vsCIfAmGyLwl0f7wHw0TkEJE3wFBdxY,3530
7
+ POP/prompts/2024-11-19-get_title_and_url.md,sha256=s_H5g0ZwOcRAt1hi9EBc8gYzf3W-lWMk3QVmd_byMjM,2881
8
+ POP/prompts/CLI_AI_helper.md,sha256=TJCu_tmjw3QLET5ArT_tDZ7is-nOZT55uAir9HxAIug,3561
9
+ POP/prompts/content_finder.md,sha256=_vpQ6hx5kdkNREPSVcYzW_AIV9tjy0p8xowenyzKOog,1735
10
+ POP/prompts/corpus_splitter.md,sha256=Nv_2J4YpxT9MNPx7M53DNzQpZq8skWnRXYkLWEaDbXE,1735
11
+ POP/prompts/fabric-improve_prompt.md,sha256=McipYmKSBHRwOr8xTHZOO3h39bCTULgoddOjMXtYvds,34777
12
+ POP/prompts/function_code_generator.md,sha256=PpT8WJ7GvOoBOBH5o-u9cSD_QAirNXeerlt6RUS5m74,1723
13
+ POP/prompts/function_description_generator.md,sha256=4EuZRAimvdpSWeWhlOV0vRyaRJqU2kJLdWj2MboSGHg,1250
14
+ POP/prompts/get_content.md,sha256=hrrgcTHDUfOwe4dd74EJ9S2-QimgOZKW7vaqTXhhitQ,3741
15
+ POP/prompts/get_title_and_url.md,sha256=uPl1RicBQRkcy2D-fhd8G4OZDUYhJOYYhJvbLpV2gk4,2901
16
+ POP/prompts/json_formatter_prompt.md,sha256=64UG19TegJPcy3tNO1XjmrdXhomSucnrkUOkK9wJQH4,1565
17
+ POP/prompts/openai-function_description_generator.md,sha256=fRgPeNH9Y-BuZRr7uLFlYa8__V5I7aRHsos4q7xsJRc,4056
18
+ POP/prompts/openai-json_schema_generator.md,sha256=5N8D3qm5UPqjZNqLYmDhwlCc1GeYHgJER_eqVsBmxcE,5220
19
+ POP/prompts/openai-prompt_generator.md,sha256=drMW9fSZUN8ldwNrvc_YsHDiSbwB58jonVSxdgydDro,3645
20
+ POP/schemas/biomedical_ner_extractor.json,sha256=WbWWWypvDdrHLvoFcEaCXa8Mx_FvmKLqUtYs2GWZujQ,929
21
+ POP/schemas/entity_extraction_per_sentence.json,sha256=S9g4pL_LOc36fNM-PA33kRNGEvKQYPe3GpHBrozwbdc,2149
22
+ pop_python-1.0.3.dist-info/licenses/LICENSE,sha256=zm0TNFsVPrnSK7IDoO504aeYMnO69QrL9IY9P5jRHHg,1064
23
+ pop_python-1.0.3.dist-info/METADATA,sha256=nE8u_YyUZWRFWoGGNh66wj1Nm48WtvAQG9ZSmyEbbiI,7033
24
+ pop_python-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
+ pop_python-1.0.3.dist-info/top_level.txt,sha256=n_VDHKZJpAKLhVprDjVofH0AgoRlb1y_uO3aRHNmNyo,4
26
+ pop_python-1.0.3.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ POP
@@ -1,5 +0,0 @@
1
- pop_python-1.0.0.dist-info/licenses/LICENSE,sha256=zm0TNFsVPrnSK7IDoO504aeYMnO69QrL9IY9P5jRHHg,1064
2
- pop_python-1.0.0.dist-info/METADATA,sha256=sVMZ2ExS8fzn8ftxBsaXKMesgwfTFj1DwZu7Ib7KMJI,7033
3
- pop_python-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
- pop_python-1.0.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
- pop_python-1.0.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
-