openaivec 0.15.0__tar.gz → 0.15.1__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.
- {openaivec-0.15.0 → openaivec-0.15.1}/PKG-INFO +1 -1
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/index.md +9 -9
- {openaivec-0.15.0 → openaivec-0.15.1}/.env.example +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/.github/copilot-instructions.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/.github/workflows/python-mkdocs.yml +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/.github/workflows/python-package.yml +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/.github/workflows/python-test.yml +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/.github/workflows/python-update.yml +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/.gitignore +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/AGENTS.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/CODE_OF_CONDUCT.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/LICENSE +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/README.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/SECURITY.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/SUPPORT.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/main.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/pandas_ext.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/spark.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/task.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/customer_sentiment.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/inquiry_classification.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/inquiry_summary.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/intent_analysis.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/response_suggestion.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/urgency_analysis.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/nlp/dependency_parsing.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/nlp/keyword_extraction.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/nlp/morphological_analysis.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/nlp/named_entity_recognition.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/nlp/sentiment_analysis.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/nlp/translation.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/contributor-guide.md +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/docs/robots.txt +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/mkdocs.yml +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/pyproject.toml +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/pytest.ini +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/__init__.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_di.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_dynamic.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_embeddings.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_log.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_model.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_optimize.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_prompt.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_provider.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_proxy.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_responses.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_schema.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_serialize.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/_util.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/pandas_ext.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/spark.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/__init__.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/__init__.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/customer_sentiment.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/inquiry_classification.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/inquiry_summary.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/intent_analysis.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/response_suggestion.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/urgency_analysis.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/__init__.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/dependency_parsing.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/keyword_extraction.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/morphological_analysis.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/named_entity_recognition.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/sentiment_analysis.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/nlp/translation.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/table/__init__.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/table/fillna.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/__init__.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/conftest.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_di.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_dynamic.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_embeddings.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_optimize.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_pandas_ext.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_prompt.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_provider.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_proxy.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_proxy_suggester.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_responses.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_schema.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_serialize.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_serialize_pydantic_v2_compliance.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_spark.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_task.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/tests/test_util.py +0 -0
- {openaivec-0.15.0 → openaivec-0.15.1}/uv.lock +0 -0
|
@@ -83,11 +83,11 @@ from openaivec import pandas_ext
|
|
|
83
83
|
|
|
84
84
|
from typing import List
|
|
85
85
|
|
|
86
|
-
# Set OpenAI
|
|
86
|
+
# Set OpenAI/Azure client (optional; auto-detected from environment variables)
|
|
87
87
|
pandas_ext.set_client(OpenAI())
|
|
88
88
|
|
|
89
|
-
# Set models for responses and embeddings(optional
|
|
90
|
-
pandas_ext.set_responses_model("gpt-4.1-
|
|
89
|
+
# Set models for responses and embeddings (optional; defaults shown)
|
|
90
|
+
pandas_ext.set_responses_model("gpt-4.1-mini")
|
|
91
91
|
pandas_ext.set_embeddings_model("text-embedding-3-small")
|
|
92
92
|
|
|
93
93
|
|
|
@@ -95,7 +95,7 @@ fruits: List[str] = ["apple", "banana", "orange", "grape", "kiwi", "mango", "pea
|
|
|
95
95
|
fruits_df = pd.DataFrame({"name": fruits})
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
`
|
|
98
|
+
`fruits_df` is a `pandas` DataFrame with a single column `name` containing the names of fruits. We can mutate the field `name` with the accessor `ai` to add a new column `color` with the color of each fruit:
|
|
99
99
|
|
|
100
100
|
```python
|
|
101
101
|
fruits_df.assign(
|
|
@@ -221,11 +221,11 @@ results = asyncio.run(analyze_feedback())
|
|
|
221
221
|
|
|
222
222
|
### Performance Tuning Parameters
|
|
223
223
|
|
|
224
|
-
**`batch_size`** (default:
|
|
225
|
-
-
|
|
226
|
-
-
|
|
227
|
-
-
|
|
228
|
-
-
|
|
224
|
+
**`batch_size`** (default: adaptive auto-tuning):
|
|
225
|
+
- Leave unset (`None`) to let `BatchingMapProxy` pick an efficient size (targets 30–60 seconds per batch)
|
|
226
|
+
- Set a positive integer for deterministic batch sizes when coordinating with rate limits
|
|
227
|
+
- Use `0` or a negative value only when everything fits in a single request
|
|
228
|
+
- Typical ranges: 32–128 for responses, 64–256 for embeddings when you need fixed sizes
|
|
229
229
|
|
|
230
230
|
**`max_concurrency`** (default: 8):
|
|
231
231
|
- Limits the number of simultaneous API requests
|
|
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
|
{openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/inquiry_classification.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openaivec-0.15.0 → openaivec-0.15.1}/docs/api/tasks/customer_support/response_suggestion.md
RENAMED
|
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
|
|
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
|
{openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/customer_sentiment.py
RENAMED
|
File without changes
|
{openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/inquiry_classification.py
RENAMED
|
File without changes
|
{openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/inquiry_summary.py
RENAMED
|
File without changes
|
{openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/intent_analysis.py
RENAMED
|
File without changes
|
{openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/response_suggestion.py
RENAMED
|
File without changes
|
{openaivec-0.15.0 → openaivec-0.15.1}/src/openaivec/task/customer_support/urgency_analysis.py
RENAMED
|
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
|
|
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
|