mostlyai-mock 0.1.2__py3-none-any.whl → 0.1.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.
- mostlyai/mock/__init__.py +1 -1
- mostlyai/mock/core.py +6 -4
- {mostlyai_mock-0.1.2.dist-info → mostlyai_mock-0.1.3.dist-info}/METADATA +1 -1
- mostlyai_mock-0.1.3.dist-info/RECORD +8 -0
- mostlyai_mock-0.1.2.dist-info/RECORD +0 -8
- {mostlyai_mock-0.1.2.dist-info → mostlyai_mock-0.1.3.dist-info}/WHEEL +0 -0
- {mostlyai_mock-0.1.2.dist-info → mostlyai_mock-0.1.3.dist-info}/entry_points.txt +0 -0
- {mostlyai_mock-0.1.2.dist-info → mostlyai_mock-0.1.3.dist-info}/licenses/LICENSE +0 -0
mostlyai/mock/__init__.py
CHANGED
mostlyai/mock/core.py
CHANGED
@@ -25,6 +25,8 @@ import pandas as pd
|
|
25
25
|
from pydantic import BaseModel, Field, RootModel, create_model, field_validator, model_validator
|
26
26
|
from tqdm import tqdm
|
27
27
|
|
28
|
+
litellm.suppress_debug_info = True
|
29
|
+
|
28
30
|
SYSTEM_PROMPT = """
|
29
31
|
You are a specialized mock data generator designed to create highly realistic, contextually appropriate data based on schema definitions.
|
30
32
|
|
@@ -637,9 +639,9 @@ def sample(
|
|
637
639
|
Default is None.
|
638
640
|
model (str): The LiteLLM chat completion model to be used. Requires support for structured output / JSON mode.
|
639
641
|
Examples include:
|
640
|
-
- `openai/gpt-4.1-nano` (default)
|
641
|
-
- `openai/gpt-4.1-mini`
|
642
|
-
- `openai/gpt-4.1`
|
642
|
+
- `openai/gpt-4.1-nano` (default; fastest)
|
643
|
+
- `openai/gpt-4.1-mini` (slower, but smarter)
|
644
|
+
- `openai/gpt-4.1` (slowest, but smartest)
|
643
645
|
- `gemini/gemini-2.0-flash`
|
644
646
|
- `gemini/gemini-2.5-flash-preview-04-17`
|
645
647
|
- `groq/llama-3.3-70b-versatile`
|
@@ -688,7 +690,7 @@ def sample(
|
|
688
690
|
"customer_id": {"prompt": "the unique id of the customer", "dtype": "integer"},
|
689
691
|
"name": {"prompt": "first name and last name of the customer", "dtype": "string"},
|
690
692
|
},
|
691
|
-
"primary_key": "customer_id",
|
693
|
+
"primary_key": "customer_id", # single string; no composite keys allowed
|
692
694
|
},
|
693
695
|
"warehouses": {
|
694
696
|
"prompt": "Warehouses of a hardware store",
|
@@ -0,0 +1,8 @@
|
|
1
|
+
mostlyai/mock/__init__.py,sha256=38sp2aKJVtPa3koRxanlBS6fe_ccVQvIieILlKb-xuw,714
|
2
|
+
mostlyai/mock/core.py,sha256=lO5OzuOz7bvjaLHpfiN-wyjFBPD0oSHSqEA4v8q436Y,35318
|
3
|
+
mostlyai/mock/mcp_server.py,sha256=Vp0bWzE8wUyA6k4PHLa0TbkuI9s07E48xPrAUgf_5qU,1563
|
4
|
+
mostlyai_mock-0.1.3.dist-info/METADATA,sha256=rkHeGDlNUM2cqSxWY_R47FWXsOLktpdl_COja8zYz28,14161
|
5
|
+
mostlyai_mock-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
6
|
+
mostlyai_mock-0.1.3.dist-info/entry_points.txt,sha256=XDbppUIAaCWW0nresVep8zb71pkzZuFA16jCBHq8CU8,61
|
7
|
+
mostlyai_mock-0.1.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
8
|
+
mostlyai_mock-0.1.3.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
mostlyai/mock/__init__.py,sha256=eeJjZ-XPDr-e4iE44SBNNt_xYQKnT6OVm75Xr52CYWc,714
|
2
|
-
mostlyai/mock/core.py,sha256=buDLbuCIGbNP91TtCnN-dg3wlHLtRcvzzlGQWm-7j8k,35183
|
3
|
-
mostlyai/mock/mcp_server.py,sha256=Vp0bWzE8wUyA6k4PHLa0TbkuI9s07E48xPrAUgf_5qU,1563
|
4
|
-
mostlyai_mock-0.1.2.dist-info/METADATA,sha256=pSjJ6D5ckyBdvpk_-5SjfF9-c6PXrEOjEc4oW5IE-g4,14161
|
5
|
-
mostlyai_mock-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
6
|
-
mostlyai_mock-0.1.2.dist-info/entry_points.txt,sha256=XDbppUIAaCWW0nresVep8zb71pkzZuFA16jCBHq8CU8,61
|
7
|
-
mostlyai_mock-0.1.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
8
|
-
mostlyai_mock-0.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|