poma 0.2.2__py3-none-any.whl → 0.3.2__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.
- poma/client.py +90 -47
- poma/integrations/__init__.py +0 -20
- poma/integrations/langchain/__init__.py +12 -0
- poma/integrations/llamaindex/__init__.py +11 -0
- poma/integrations/qdrant/__init__.py +23 -0
- poma/integrations/qdrant/qdrant_poma.py +1326 -0
- {poma-0.2.2.dist-info → poma-0.3.2.dist-info}/METADATA +28 -20
- poma-0.3.2.dist-info/RECORD +16 -0
- {poma-0.2.2.dist-info → poma-0.3.2.dist-info}/WHEEL +1 -1
- poma-0.2.2.dist-info/RECORD +0 -12
- /poma/integrations/{langchain_poma.py → langchain/langchain_poma.py} +0 -0
- /poma/integrations/{llamaindex_poma.py → llamaindex/llamaindex_poma.py} +0 -0
- {poma-0.2.2.dist-info → poma-0.3.2.dist-info}/licenses/LICENSE +0 -0
- {poma-0.2.2.dist-info → poma-0.3.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: poma
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Official Python SDK for the Poma document-processing API
|
|
5
5
|
Author-email: "POMA AI GmbH, Berlin" <sdk@poma-ai.com>
|
|
6
6
|
License-Expression: MPL-2.0
|
|
@@ -10,20 +10,24 @@ Description-Content-Type: text/markdown
|
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Requires-Dist: httpx==0.28.1
|
|
12
12
|
Requires-Dist: pydantic==2.11.7
|
|
13
|
-
Provides-Extra:
|
|
14
|
-
Requires-Dist: langchain==0.3.27; extra == "
|
|
15
|
-
Requires-Dist: langchain-text-splitters==0.3.9; extra == "
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
|
|
21
|
-
Requires-Dist:
|
|
22
|
-
Requires-Dist:
|
|
23
|
-
Requires-Dist:
|
|
24
|
-
Requires-Dist:
|
|
25
|
-
Requires-Dist:
|
|
26
|
-
Requires-Dist:
|
|
13
|
+
Provides-Extra: langchain
|
|
14
|
+
Requires-Dist: langchain==0.3.27; extra == "langchain"
|
|
15
|
+
Requires-Dist: langchain-text-splitters==0.3.9; extra == "langchain"
|
|
16
|
+
Provides-Extra: llamaindex
|
|
17
|
+
Requires-Dist: llama-index==0.13.0; extra == "llamaindex"
|
|
18
|
+
Provides-Extra: qdrant
|
|
19
|
+
Requires-Dist: qdrant-client[fastembed]==1.16.2; extra == "qdrant"
|
|
20
|
+
Provides-Extra: all
|
|
21
|
+
Requires-Dist: langchain==0.3.27; extra == "all"
|
|
22
|
+
Requires-Dist: langchain-text-splitters==0.3.9; extra == "all"
|
|
23
|
+
Requires-Dist: llama-index==0.13.0; extra == "all"
|
|
24
|
+
Requires-Dist: llama-index-vector-stores-faiss==0.5.0; extra == "all"
|
|
25
|
+
Requires-Dist: faiss-cpu==1.10.0; extra == "all"
|
|
26
|
+
Requires-Dist: langchain_openai==0.3.28; extra == "all"
|
|
27
|
+
Requires-Dist: langchain_community==0.3.27; extra == "all"
|
|
28
|
+
Requires-Dist: llama-index-embeddings-langchain==0.4.0; extra == "all"
|
|
29
|
+
Requires-Dist: qdrant-client[fastembed]==1.16.2; extra == "all"
|
|
30
|
+
Requires-Dist: dotenv; extra == "all"
|
|
27
31
|
Dynamic: license-file
|
|
28
32
|
|
|
29
33
|

|
|
@@ -38,11 +42,14 @@ Requires Python 3.10+. Install the core packages:
|
|
|
38
42
|
pip install poma
|
|
39
43
|
```
|
|
40
44
|
|
|
41
|
-
For integrations
|
|
45
|
+
For different integrations:
|
|
42
46
|
```bash
|
|
43
|
-
pip install 'poma[
|
|
44
|
-
|
|
45
|
-
pip install 'poma[
|
|
47
|
+
pip install 'poma[langchain]'
|
|
48
|
+
pip install 'poma[llamaindex]'
|
|
49
|
+
pip install 'poma[qdrant]'
|
|
50
|
+
|
|
51
|
+
# Or LangChain/LlamaIndex/Qdrant including example extras:
|
|
52
|
+
pip install 'poma[all]'
|
|
46
53
|
```
|
|
47
54
|
|
|
48
55
|
|
|
@@ -53,10 +60,11 @@ pip install 'poma[integration-examples]'
|
|
|
53
60
|
|
|
54
61
|
### Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: [poma-ai/poma](https://github.com/poma-ai/)
|
|
55
62
|
|
|
56
|
-
We provide
|
|
63
|
+
We provide example implementations to help you get started with POMA AI:
|
|
57
64
|
- example.py — A standalone implementation for documents, showing the basic POMA AI workflow with simple keyword-based retrieval
|
|
58
65
|
- example_langchain.py — Integration with LangChain, demonstrating how easy it is to use POMA AI with LangChain
|
|
59
66
|
- example_llamaindex.py — Integration with LlamaIndex, showing how simple it is to use POMA AI with LlamaIndex
|
|
67
|
+
-
|
|
60
68
|
|
|
61
69
|
*Note: The integration examples use OpenAI embeddings. Make sure to set your OPENAI_API_KEY environment variable, or replace the embeddings with your preferred ones.*
|
|
62
70
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
poma/__init__.py,sha256=SARVBTJw2pkIXR2_OYMPYjB7W335er_2-9j4yhzVTZI,266
|
|
2
|
+
poma/client.py,sha256=4bVbaLfrwizgbtGnFOfemJ6tHprVqS6YJdvcv1pIcoE,16519
|
|
3
|
+
poma/exceptions.py,sha256=CsawBf0pwtZvm_0kPxLQ5WsIU_vCzNoMEMF_o5OJkBQ,519
|
|
4
|
+
poma/retrieval.py,sha256=rdFjUI9_soOLA5Cs7YGgWXpObFULx-VsQ66CdC8Zwrg,13658
|
|
5
|
+
poma/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
poma/integrations/langchain/__init__.py,sha256=9jPaYLV5oZ2Fvwkf25YJ5WoqKwdEj8OkN_uacyIte_8,208
|
|
7
|
+
poma/integrations/langchain/langchain_poma.py,sha256=wDVrPJde7gRJR4ml3wS4qiL_dM4w2RDKVZYM_FrYgHM,14202
|
|
8
|
+
poma/integrations/llamaindex/__init__.py,sha256=gqYSLS8IgWPVOTkv_G_ax4pQV8UhEyg_xM89Dkz0Tzg,212
|
|
9
|
+
poma/integrations/llamaindex/llamaindex_poma.py,sha256=biSAwcbKShsTdnjtCtM63GCzD5Nig4-85ZBquB_CG8w,14516
|
|
10
|
+
poma/integrations/qdrant/__init__.py,sha256=nOoJ8mbz8D1n_h0GJM65wpsEq5IqSvFIn0TPtP68Qp4,422
|
|
11
|
+
poma/integrations/qdrant/qdrant_poma.py,sha256=Jf3iAz_NBo3IjiFjwfAG3oHlr3MJD6puSlkMgFgDv40,56932
|
|
12
|
+
poma-0.3.2.dist-info/licenses/LICENSE,sha256=YRzZ4sQOWV3ut0G4LHZJ2hT90shzZufGlXoIx4LWFEo,15254
|
|
13
|
+
poma-0.3.2.dist-info/METADATA,sha256=HHkNUtWcZauEgRE-Z7-YBWdQ4viEfk1kODuTNA9qIX4,3106
|
|
14
|
+
poma-0.3.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
15
|
+
poma-0.3.2.dist-info/top_level.txt,sha256=f_3c5Y6SojNnH0iiiE898fIKF6R2LqWyAw-BGi-72YI,5
|
|
16
|
+
poma-0.3.2.dist-info/RECORD,,
|
poma-0.2.2.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
poma/__init__.py,sha256=SARVBTJw2pkIXR2_OYMPYjB7W335er_2-9j4yhzVTZI,266
|
|
2
|
-
poma/client.py,sha256=sAaW7lz6s6WQDhkjMYfhOtd_d8baVflToc7q5l9BTYo,14337
|
|
3
|
-
poma/exceptions.py,sha256=CsawBf0pwtZvm_0kPxLQ5WsIU_vCzNoMEMF_o5OJkBQ,519
|
|
4
|
-
poma/retrieval.py,sha256=rdFjUI9_soOLA5Cs7YGgWXpObFULx-VsQ66CdC8Zwrg,13658
|
|
5
|
-
poma/integrations/__init__.py,sha256=xrrJluggTLtrKs4jLOZUWkFENqWSHSnhCqYQYY51kq0,405
|
|
6
|
-
poma/integrations/langchain_poma.py,sha256=wDVrPJde7gRJR4ml3wS4qiL_dM4w2RDKVZYM_FrYgHM,14202
|
|
7
|
-
poma/integrations/llamaindex_poma.py,sha256=biSAwcbKShsTdnjtCtM63GCzD5Nig4-85ZBquB_CG8w,14516
|
|
8
|
-
poma-0.2.2.dist-info/licenses/LICENSE,sha256=YRzZ4sQOWV3ut0G4LHZJ2hT90shzZufGlXoIx4LWFEo,15254
|
|
9
|
-
poma-0.2.2.dist-info/METADATA,sha256=dcTbxQ_ITjYExb1NVjgPUySAfKJrg8tBa5vU7YiFW-U,3083
|
|
10
|
-
poma-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
-
poma-0.2.2.dist-info/top_level.txt,sha256=f_3c5Y6SojNnH0iiiE898fIKF6R2LqWyAw-BGi-72YI,5
|
|
12
|
-
poma-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|