dify-oapi2 1.0.0__py3-none-any.whl → 1.0.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.
@@ -0,0 +1,395 @@
1
+ Metadata-Version: 2.4
2
+ Name: dify-oapi2
3
+ Version: 1.0.2
4
+ Summary: A package for interacting with the Dify Service-API
5
+ License: MIT
6
+ License-File: LICENSE
7
+ Keywords: dify,nlp,ai,language-processing
8
+ Author: Oscaner Miao
9
+ Author-email: oscaner1997@gmail.com
10
+ Requires-Python: >=3.10
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Dist: httpx (>=0,<1)
19
+ Requires-Dist: pydantic (>=2,<3)
20
+ Project-URL: Homepage, https://github.com/nodite/dify-oapi2
21
+ Project-URL: Source, https://github.com/nodite/dify-oapi2
22
+ Description-Content-Type: text/markdown
23
+
24
+ # Dify-OAPI
25
+
26
+ [![PyPI version](https://badge.fury.io/py/dify-oapi2.svg)](https://badge.fury.io/py/dify-oapi2)
27
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
28
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
29
+
30
+ A modern Python SDK for interacting with the Dify Service-API. This library provides a fluent, type-safe interface for building AI-powered applications using Dify's comprehensive API services including chat, completion, knowledge base, workflow, and chatflow features.
31
+
32
+ > This project is based on https://github.com/QiMington/dify-oapi, completely refactored with modern Python practices and full support for the latest Dify API.
33
+
34
+ ## ✨ Features
35
+
36
+ - **Complete API Coverage**: Chat (18 APIs), Chatflow (15 APIs), Completion (10 APIs), Knowledge Base (33 APIs), Workflow (4 APIs), and Core Dify (9 APIs)
37
+ - **Builder Pattern**: Fluent, chainable interface for constructing requests
38
+ - **Sync & Async Support**: Both synchronous and asynchronous operations
39
+ - **Streaming Responses**: Real-time streaming for chat and completion
40
+ - **Type Safety**: Comprehensive type hints with Pydantic 2.x validation
41
+ - **File Upload**: Support for images and documents
42
+ - **Modern HTTP Client**: Built on httpx for reliable API communication
43
+ - **Connection Pool Optimization**: Efficient TCP connection reuse to reduce resource overhead
44
+
45
+ ## 📦 Installation
46
+
47
+ ```bash
48
+ pip install dify-oapi2
49
+ ```
50
+
51
+ **Requirements**: Python 3.10+
52
+
53
+ **Core Dependencies**:
54
+
55
+ - `pydantic` (^2) - Data validation and settings management with type safety
56
+ - `httpx` (^0) - Modern async HTTP client
57
+
58
+ **Development Dependencies**:
59
+
60
+ - `ruff` (^0) - Fast Python linter and formatter
61
+ - `mypy` (^1) - Static type checking
62
+ - `pytest` (^8) - Testing framework
63
+ - `pre-commit` (^4) - Git hooks for code quality
64
+ - `commitizen` (^4) - Semantic versioning and changelog generation
65
+ - `poetry` - Dependency management and packaging
66
+
67
+ ## 🛠️ Technology Stack
68
+
69
+ - **Language**: Python 3.10+
70
+ - **HTTP Client**: httpx with connection pooling optimization
71
+ - **Type System**: Pydantic 2.x with comprehensive type validation
72
+ - **Architecture**: Builder pattern with fluent API design + Service layer pattern
73
+ - **Async Support**: Full async/await support with AsyncGenerator streaming
74
+ - **Code Quality**: Ruff (linting + formatting) + MyPy (type checking)
75
+ - **Testing**: pytest with async support and comprehensive coverage
76
+ - **Packaging**: Poetry with modern Python packaging standards
77
+ - **Total Coverage**: 89 API methods across 6 services with complete examples
78
+
79
+ ## 🚀 Quick Start
80
+
81
+ ### Basic Usage
82
+
83
+ ```python
84
+ from dify_oapi.client import Client
85
+ from dify_oapi.core.model.request_option import RequestOption
86
+ from dify_oapi.api.chat.v1.model.chat_request import ChatRequest
87
+
88
+ # Initialize client with builder pattern
89
+ client = (
90
+ Client.builder()
91
+ .domain("https://api.dify.ai")
92
+ .max_connections(100)
93
+ .keepalive_expiry(30.0)
94
+ .build()
95
+ )
96
+
97
+ # Create request options
98
+ req_option = RequestOption.builder().api_key("your-api-key").build()
99
+
100
+ # Use the chat API
101
+ response = client.chat.chat(
102
+ request=ChatRequest.builder()
103
+ .query("Hello, how are you?")
104
+ .user("user-123")
105
+ .build(),
106
+ request_option=req_option
107
+ )
108
+
109
+ print(response.answer)
110
+ ```
111
+
112
+ ### Comprehensive Examples
113
+
114
+ Ready to build AI-powered applications? Check out our comprehensive examples:
115
+
116
+ - **[Chat Examples](./examples/chat/)** - Interactive conversations and streaming responses
117
+ - **[Chatflow Examples](./examples/chatflow/)** - Enhanced chat with workflow events
118
+ - **[Knowledge Base Examples](./examples/knowledge/)** - Build and query knowledge bases
119
+ - **[Workflow Examples](./examples/workflow/)** - Automate complex AI workflows
120
+ - **[Complete Examples Collection](./examples/)** - All API services with detailed usage patterns
121
+
122
+ Each example includes complete, runnable code with detailed explanations.
123
+
124
+ ## 🔧 API Services
125
+
126
+ ### Chat API (18 APIs)
127
+
128
+ **Resources**: annotation (6), chat (3), conversation (6), message (3)
129
+
130
+ - **Interactive Chat**: Send messages with blocking/streaming responses
131
+ - **Conversation Management**: Complete conversation lifecycle operations
132
+ - **Annotation System**: Create, update, delete annotations with reply settings
133
+ - **Message Operations**: Basic message handling and history retrieval
134
+ - **Streaming Support**: Real-time streaming for chat responses
135
+ - **Type Safety**: Comprehensive type hints with strict Literal types
136
+
137
+ ### Chatflow API (15 APIs)
138
+
139
+ **Resources**: annotation (6), chatflow (3), conversation (6)
140
+
141
+ - **Enhanced Chat**: Advanced chat functionality with workflow events
142
+ - **Conversation Management**: Complete conversation operations with variables
143
+ - **Annotation System**: Full annotation management and reply configuration
144
+ - **Workflow Integration**: Seamless integration with workflow events
145
+ - **Event Streaming**: Real-time streaming with comprehensive event handling
146
+ - **Type Safety**: Strict Literal types for all predefined values
147
+
148
+ ### Completion API (10 APIs)
149
+
150
+ **Resources**: annotation (6), completion (4)
151
+
152
+ - **Text Generation**: Advanced text completion and generation
153
+ - **Message Processing**: Send messages and control text generation
154
+ - **Annotation Management**: Create, update, and manage annotations
155
+ - **Generation Control**: Stop ongoing text generation processes
156
+ - **Streaming Support**: Real-time text generation with streaming responses
157
+ - **Type Safety**: Full type validation with Pydantic models
158
+
159
+ ### Knowledge Base API (33 APIs)
160
+
161
+ **Resources**: chunk (4), dataset (6), document (10), model (1), segment (5), tag (7)
162
+
163
+ - **Dataset Management**: Complete dataset CRUD operations and content retrieval
164
+ - **Document Processing**: File upload, text processing, and batch management
165
+ - **Content Organization**: Fine-grained segmentation and chunk management
166
+ - **Tag System**: Flexible tagging and categorization system
167
+ - **Model Integration**: Embedding model information and configuration
168
+ - **Search & Retrieval**: Advanced search with multiple retrieval strategies
169
+
170
+ ### Workflow API (4 APIs)
171
+
172
+ **Resources**: workflow (4)
173
+
174
+ - **Workflow Execution**: Run workflows with blocking or streaming responses
175
+ - **Execution Control**: Stop running workflows and monitor progress
176
+ - **Log Management**: Retrieve detailed execution logs and run details
177
+ - **Parameter Support**: Flexible workflow parameter configuration
178
+
179
+ ### Dify Core API (9 APIs)
180
+
181
+ **Resources**: audio (2), feedback (2), file (1), info (4)
182
+
183
+ - **Audio Processing**: Speech-to-text and text-to-speech conversion
184
+ - **Feedback System**: Submit and retrieve user feedback
185
+ - **File Management**: Unified file upload and processing
186
+ - **Application Info**: App configuration, parameters, and metadata access
187
+
188
+ ## 💡 Examples
189
+
190
+ Explore comprehensive examples in the [examples directory](./examples):
191
+
192
+ ### Chat Examples
193
+
194
+ - [**Chat Messages**](./examples/chat/chat/) - Send messages, stop generation, get suggestions
195
+ - [**Conversation Management**](./examples/chat/conversation/) - Complete conversation operations
196
+ - [**Message Operations**](./examples/chat/message/) - Basic message operations
197
+ - [**Annotation Management**](./examples/chat/annotation/) - Annotation CRUD and reply settings
198
+
199
+ _Note: File upload and feedback examples are available in [Dify Core API](./examples/dify/) as shared services._
200
+
201
+ ### Completion Examples
202
+
203
+ - [**Completion Operations**](./examples/completion/completion/) - Text generation and completion
204
+ - [**Annotation Management**](./examples/completion/annotation/) - Annotation operations
205
+
206
+ ### Knowledge Base Examples
207
+
208
+ - [**Dataset Management**](./examples/knowledge/dataset/) - Complete dataset operations
209
+ - [**Document Processing**](./examples/knowledge/document/) - File upload and text processing
210
+ - [**Content Organization**](./examples/knowledge/segment/) - Segment and chunk management
211
+ - [**Tag Management**](./examples/knowledge/tag/) - Metadata and tagging system
212
+
213
+ ### Chatflow Examples
214
+
215
+ - [**Advanced Chat**](./examples/chatflow/chatflow/) - Enhanced chat with streaming and workflow events
216
+ - [**Conversation Management**](./examples/chatflow/conversation/) - Complete conversation operations
217
+ - [**Annotation Management**](./examples/chatflow/annotation/) - Annotation CRUD and reply settings
218
+
219
+ ### Dify Core Examples
220
+
221
+ - [**Audio Processing**](./examples/dify/audio/) - Speech-to-text and text-to-speech
222
+ - [**Feedback Management**](./examples/dify/feedback/) - User feedback collection
223
+ - [**File Management**](./examples/dify/file/) - File upload and processing
224
+ - [**Application Info**](./examples/dify/info/) - App configuration and metadata
225
+
226
+ ### Workflow Examples
227
+
228
+ - [**Workflow Operations**](./examples/workflow/workflow/) - Workflow execution and management
229
+ - [**File Upload**](./examples/workflow/file/) - File upload for workflows
230
+
231
+ For detailed examples and usage patterns, see the [examples README](./examples/README.md).
232
+
233
+ ## 🛠️ Development
234
+
235
+ ### Prerequisites
236
+
237
+ - Python 3.10+
238
+ - Poetry (for dependency management)
239
+ - Git (for version control)
240
+
241
+ ### Setup
242
+
243
+ ```bash
244
+ # Clone repository
245
+ git clone https://github.com/nodite/dify-oapi2.git
246
+ cd dify-oapi2
247
+
248
+ # Setup development environment (installs dependencies and pre-commit hooks)
249
+ make dev-setup
250
+ ```
251
+
252
+ ### Code Quality Tools
253
+
254
+ This project uses modern Python tooling for code quality:
255
+
256
+ - **Ruff**: Fast Python linter and formatter (replaces Black + isort + flake8)
257
+ - **MyPy**: Static type checking for type safety
258
+ - **Pre-commit**: Git hooks for automated code quality checks
259
+ - **Poetry**: Modern dependency management and packaging
260
+
261
+ ```bash
262
+ # Format code
263
+ make format
264
+
265
+ # Lint code
266
+ make lint
267
+
268
+ # Fix linting issues
269
+ make fix
270
+
271
+ # Run all checks (lint + type check)
272
+ make check
273
+
274
+ # Install pre-commit hooks
275
+ make install-hooks
276
+
277
+ # Run pre-commit hooks manually
278
+ make pre-commit
279
+ ```
280
+
281
+ ### Testing
282
+
283
+ ```bash
284
+ # Set environment variables for integration tests
285
+ export DOMAIN="https://api.dify.ai"
286
+ export CHAT_KEY="your-chat-api-key"
287
+ export CHATFLOW_KEY="your-chatflow-api-key"
288
+ export COMPLETION_KEY="your-completion-api-key"
289
+ export DIFY_KEY="your-dify-api-key"
290
+ export WORKFLOW_KEY="your-workflow-api-key"
291
+ export KNOWLEDGE_KEY="your-knowledge-api-key"
292
+
293
+ # Run tests
294
+ make test
295
+
296
+ # Run tests with coverage
297
+ make test-cov
298
+
299
+ # Run specific test module
300
+ poetry run pytest tests/knowledge/ -v
301
+ ```
302
+
303
+ ### Build & Publish
304
+
305
+ ```bash
306
+ # Configure PyPI tokens (one-time setup)
307
+ poetry config http-basic.testpypi __token__ <your-testpypi-token>
308
+ poetry config http-basic.pypi __token__ <your-pypi-token>
309
+
310
+ # Build package
311
+ make build
312
+
313
+ # Publish to TestPyPI (for testing)
314
+ make publish-test
315
+
316
+ # Publish to PyPI (maintainers only)
317
+ make publish
318
+ ```
319
+
320
+ ### Project Structure
321
+
322
+ ```
323
+ dify-oapi2/
324
+ ├── dify_oapi/ # Main SDK package
325
+ │ ├── api/ # API service modules
326
+ │ │ ├── chat/ # Chat API (18 APIs)
327
+ │ │ │ └── v1/ # Version 1 implementation
328
+ │ │ ├── chatflow/ # Chatflow API (15 APIs)
329
+ │ │ │ └── v1/ # Version 1 implementation
330
+ │ │ ├── completion/ # Completion API (10 APIs)
331
+ │ │ │ └── v1/ # Version 1 implementation
332
+ │ │ ├── dify/ # Core Dify API (9 APIs)
333
+ │ │ │ └── v1/ # Version 1 implementation
334
+ │ │ ├── knowledge/ # Knowledge Base API (33 APIs)
335
+ │ │ │ └── v1/ # Version 1 implementation
336
+ │ │ └── workflow/ # Workflow API (6 APIs)
337
+ │ │ └── v1/ # Version 1 implementation
338
+ │ ├── core/ # Core functionality
339
+ │ │ ├── http/ # HTTP transport layer with connection pooling
340
+ │ │ ├── model/ # Base models and configurations
341
+ │ │ └── utils/ # Utility functions
342
+ │ └── client.py # Main client interface with builder pattern
343
+ ├── docs/ # Comprehensive documentation
344
+ ├── examples/ # Complete usage examples for all APIs
345
+ ├── tests/ # Comprehensive test suite
346
+ ├── pyproject.toml # Project configuration (Poetry + tools)
347
+ ├── Makefile # Development automation
348
+ └── DEVELOPMENT.md # Development guide
349
+ ```
350
+
351
+ ## 📖 Documentation
352
+
353
+ - [**Development Guide**](./DEVELOPMENT.md) - Setup, workflow, and contribution guidelines
354
+ - [**Project Overview**](./docs/overview.md) - Architecture and technical details
355
+ - [**API Documentation**](./docs/) - Complete API documentation by service
356
+ - [**Examples**](./examples/README.md) - Comprehensive usage examples and patterns
357
+
358
+ ## 🤝 Contributing
359
+
360
+ Contributions are welcome! Please follow our development workflow:
361
+
362
+ 1. Fork the repository
363
+ 2. Clone and checkout the `main` branch (`git checkout main`)
364
+ 3. Create a feature branch from `main` (`git checkout -b feature/amazing-feature`)
365
+ 4. Make your changes with comprehensive tests
366
+ 5. Ensure code quality passes (`make check`)
367
+ 6. Run the full test suite (`make test`)
368
+ 7. Commit your changes (`git commit -m 'Add amazing feature'`)
369
+ 8. Push to the branch (`git push origin feature/amazing-feature`)
370
+ 9. Submit a pull request to the `main` branch
371
+
372
+ ### Branch Strategy
373
+
374
+ - `main` - Main development branch, **all development and PRs are based on this branch**
375
+ - `feature/*` - Feature branches, created from and merged back to `main`
376
+ - `bugfix/*` - Bug fix branches, created from and merged back to `main`
377
+ - `hotfix/*` - Urgent fixes, created from and merged back to `main`
378
+
379
+ See [DEVELOPMENT.md](./DEVELOPMENT.md) for detailed development guidelines.
380
+
381
+ ## 📄 License
382
+
383
+ This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
384
+
385
+ ## 🔗 Links
386
+
387
+ - **PyPI Package**: https://pypi.org/project/dify-oapi2/
388
+ - **Source Code**: https://github.com/nodite/dify-oapi2
389
+ - **Dify Platform**: https://dify.ai/
390
+ - **Dify API Docs**: https://docs.dify.ai/
391
+
392
+ ---
393
+
394
+ **Keywords**: dify, ai, nlp, language-processing, python-sdk, async, type-safe, api-client
395
+
@@ -3,7 +3,7 @@ dify_oapi/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  dify_oapi/api/chat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  dify_oapi/api/chat/service.py,sha256=yQe-GrdKiIJ_dhIjfAgtQRLrnAmFEnC8a6QSY9pISm8,177
5
5
  dify_oapi/api/chat/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- dify_oapi/api/chat/v1/model/__init__.py,sha256=mbEl5hP0w1zgcKahqFefVJrgkIC29WS46fWagDFaGWg,1700
6
+ dify_oapi/api/chat/v1/model/__init__.py,sha256=GID9vm2KrggCgx3nh6P_ICQLTXR-fgIzMGo9dqFdnJ0,10531
7
7
  dify_oapi/api/chat/v1/model/agent_thought.py,sha256=2HvZKF9Hh95qgQmC2goHkcAFL1-dU83Ejp6EvsSMI_Q,1973
8
8
  dify_oapi/api/chat/v1/model/annotation_info.py,sha256=tUwWQsbDOmhJFUEQMCMZqXv6lwUBhZsiYAPJ5R_Ticc,1195
9
9
  dify_oapi/api/chat/v1/model/app_info.py,sha256=d-C_VddLGpQ3Hv5lsBVwJ5ZsI2FCgzmnFaBDfkRtWDc,813
@@ -30,7 +30,7 @@ dify_oapi/api/chat/v1/model/feedback_info.py,sha256=p6C5AxEdTmkvxv_XsohXIliOkA1X
30
30
  dify_oapi/api/chat/v1/model/file_info.py,sha256=Fp9uCjtH26uwk4G98Afm6zjN6S298NV8zixtQUyufeY,1494
31
31
  dify_oapi/api/chat/v1/model/get_annotation_reply_status_request.py,sha256=mBgWzZ7lraAlXU9InGF3oFmhv7mGSCyJdJQ_TdBfCB0,1293
32
32
  dify_oapi/api/chat/v1/model/get_annotation_reply_status_response.py,sha256=NZKE0YpR2GEaI8GEG2p40SxbUc5OV2IFolkmbznkuF0,320
33
- dify_oapi/api/chat/v1/model/get_conversation_list_request.py,sha256=4PLgS2nk_3FPtxlX9CZD-raNg1wIH3pDGO75W1dAP0k,1836
33
+ dify_oapi/api/chat/v1/model/get_conversation_list_request.py,sha256=EBkuDaGDpW-r_Yvj7BQi4Q_AWN6iHn7Gfj_d3xigp_U,1876
34
34
  dify_oapi/api/chat/v1/model/get_conversation_list_response.py,sha256=IBtFJJqVRjZBwd693v_Oo2yX-yQ1VdVPIUp2tTAN-vY,328
35
35
  dify_oapi/api/chat/v1/model/get_conversation_variables_request.py,sha256=tr9maoJKZ5PJtvwn0A4ARFAryqFu0tdKyDHnMEeyKeY,2386
36
36
  dify_oapi/api/chat/v1/model/get_conversation_variables_response.py,sha256=mpll7PzUEtmR64fvG-zWdY60iCY2XzD2lfU6RGYXFFw,348
@@ -62,13 +62,13 @@ dify_oapi/api/chat/v1/model/usage_info.py,sha256=tXIjEcJsy8lmduUCHSambf2REuVTax_
62
62
  dify_oapi/api/chat/v1/resource/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
63
63
  dify_oapi/api/chat/v1/resource/annotation.py,sha256=Mbyx97WFkrmscNpXS68KkoXEB7gYAqeBupRTxmsXXWI,4441
64
64
  dify_oapi/api/chat/v1/resource/chat.py,sha256=IQpSIhEP3XkES95XXeOI9_dthNCKD1N4Jlr6pZY8ZJA,3308
65
- dify_oapi/api/chat/v1/resource/conversation.py,sha256=U0Pu8xJQ_skZtFzna2_AO7rS1yo61LN4YaO76LqUKas,3728
65
+ dify_oapi/api/chat/v1/resource/conversation.py,sha256=oyjr4-Iqob0oG5qpMl5JU0cAkkD3rUfJxuzXVoNKfQk,3754
66
66
  dify_oapi/api/chat/v1/resource/message.py,sha256=4iU0rn5qHVbKSv2sR0LEyDDOUxNq-uSqZu36trjJx10,1686
67
67
  dify_oapi/api/chat/v1/version.py,sha256=b-gExIb2NR_uoV8NWxH12YIwN41GJEcNWL6YEkpK9SA,874
68
68
  dify_oapi/api/chatflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  dify_oapi/api/chatflow/service.py,sha256=t6TUtkqLt7vusiqoEYcIR8d_HRYrbWO2WMBykUdBiCU,177
70
70
  dify_oapi/api/chatflow/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
- dify_oapi/api/chatflow/v1/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
+ dify_oapi/api/chatflow/v1/model/__init__.py,sha256=8aG0TFSnVbJXK71tbHzCm8MDUl5Ao-q3QUbD6Bt9sq8,10229
72
72
  dify_oapi/api/chatflow/v1/model/annotation_info.py,sha256=nXzj2M_fEBQqQjE1Yn7MNJg72HTgW4A2OrMxDNylwjQ,1212
73
73
  dify_oapi/api/chatflow/v1/model/annotation_reply_settings_request.py,sha256=wLI6BR7pkw3vDeJmpLsYmVGQn9BFE6oFAkgq_UGA8zA,1679
74
74
  dify_oapi/api/chatflow/v1/model/annotation_reply_settings_request_body.py,sha256=2iuS1DrIek2CxPP5nZobv91e5n_nhTPSFhfTBFxTK4k,1382
@@ -107,7 +107,7 @@ dify_oapi/api/chatflow/v1/model/rename_conversation_request_body.py,sha256=zZ5DF
107
107
  dify_oapi/api/chatflow/v1/model/rename_conversation_response.py,sha256=Z3Q3qOYYSJ49EWtTiBCqK4ZuOvlZUuP1dtibNTNGYjs,1917
108
108
  dify_oapi/api/chatflow/v1/model/retriever_resource.py,sha256=2Tbk0KiL6VROMPLpqvaNVhHfazcXTgHmwcW7jTXHlBU,1886
109
109
  dify_oapi/api/chatflow/v1/model/send_chat_message_request.py,sha256=Zxo6grw6UJjatUJfAIa86Z20yc-YPnI3-qt_xG9vwg4,1165
110
- dify_oapi/api/chatflow/v1/model/send_chat_message_request_body.py,sha256=DAAgZL_dRdo5iWnLYdOOHO2A9XW5w-NoiZ1pNUilAq0,2013
110
+ dify_oapi/api/chatflow/v1/model/send_chat_message_request_body.py,sha256=Z79pk4NZtfcjeea_dBFt8oChQ-7wV4EKUj-wuyozY8k,2096
111
111
  dify_oapi/api/chatflow/v1/model/send_chat_message_response.py,sha256=ZL0b2Js9qLn-s3U_xsU7mx6Ai3bDx8WYFNDbzARNzXs,168
112
112
  dify_oapi/api/chatflow/v1/model/stop_chat_message_request.py,sha256=I_hurURP6OkX6EY9Yx-sSrDP6865O6PuC0wxxYAUw1k,1437
113
113
  dify_oapi/api/chatflow/v1/model/stop_chat_message_request_body.py,sha256=hPXhUT85IHZEgb5kytxmgfUIKfQVp8Il330MpGiM4cc,629
@@ -127,7 +127,8 @@ dify_oapi/api/chatflow/v1/version.py,sha256=FmchDZ0jm1eLSgOoFiRQeaRqzBeGsqu8cHsH
127
127
  dify_oapi/api/completion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
128
  dify_oapi/api/completion/service.py,sha256=IcTmiChWO5-8XJoUzFeJiiIfdAGGvfYO5Um3B7hv9Ck,183
129
129
  dify_oapi/api/completion/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
130
- dify_oapi/api/completion/v1/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
130
+ dify_oapi/api/completion/v1/model/__init__.py,sha256=q3uOgD4Tl6STSS-GhDj5Ny_68jj4O85sLui3TwER9BI,3928
131
+ dify_oapi/api/completion/v1/model/annotation/__init__.py,sha256=XcvdP-yeQs4eU_UVtXbNRolfY2CGVcZzqFr1OYQRhE4,2905
131
132
  dify_oapi/api/completion/v1/model/annotation/annotation_info.py,sha256=vq47c87jOJDg-lkPBZQ8MCNZw667csixqvyIPI6r2X4,1195
132
133
  dify_oapi/api/completion/v1/model/annotation/annotation_reply_settings_request.py,sha256=vIbo9IsMymXdJjw680N6zeIzxOJvlZqOdclF20Rv_t8,1723
133
134
  dify_oapi/api/completion/v1/model/annotation/annotation_reply_settings_request_body.py,sha256=jWXO5tSK1XO3cF1YfB7JnQrMmREV9VMsZ5RQGoU4Rw4,1355
@@ -145,6 +146,7 @@ dify_oapi/api/completion/v1/model/annotation/query_annotation_reply_status_respo
145
146
  dify_oapi/api/completion/v1/model/annotation/update_annotation_request.py,sha256=JxluiMFVgnXYKA1OcanMfEa_LZIfDtjrSVKWnGVYNpA,1523
146
147
  dify_oapi/api/completion/v1/model/annotation/update_annotation_request_body.py,sha256=ZeB_3bXN-kFnoSvsoizJhZEcplOf9MMQBZJe2lZ1y-8,873
147
148
  dify_oapi/api/completion/v1/model/annotation/update_annotation_response.py,sha256=2YhcjywMDYNgGxSRsjHMTGgc2-5OOnL-q_H1i-EIMX8,214
149
+ dify_oapi/api/completion/v1/model/completion/__init__.py,sha256=pZxP47-XQHlf9GuhiCve6ybMq2xv0cw_FJYqq9SC8Zk,1695
148
150
  dify_oapi/api/completion/v1/model/completion/completion_inputs.py,sha256=lvvxFsVR9ciacqRzK67nzEGiJFNPXk9FYsf5CAnTAF4,1659
149
151
  dify_oapi/api/completion/v1/model/completion/completion_message_info.py,sha256=SgbxZztRFNVyh9Z-Vn5qdjfmJyYPokUpseNvcaujRCw,1431
150
152
  dify_oapi/api/completion/v1/model/completion/completion_types.py,sha256=u6ncXubZ2MC_PruvKv--nTroRHWeDl1CnM7yDEPmu1Q,1200
@@ -165,7 +167,7 @@ dify_oapi/api/completion/v1/version.py,sha256=aZZnrB8vsVU_dOVsRp7m6SlP--svkAVGsp
165
167
  dify_oapi/api/dify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
166
168
  dify_oapi/api/dify/service.py,sha256=QD36WKwkPyj5Njc_B5hitqKkrKnLEvXpkkIvctsvhWc,177
167
169
  dify_oapi/api/dify/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
168
- dify_oapi/api/dify/v1/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
170
+ dify_oapi/api/dify/v1/model/__init__.py,sha256=7RqssxMMC9nu_i9hsRjvJBI2xCtSLSHHYRO7s3FjEwI,3082
169
171
  dify_oapi/api/dify/v1/model/audio_to_text_request.py,sha256=u8cKhh2gh1X0eU3S7BDRgjbr7MVWIROUrQi6kK8HOUk,1407
170
172
  dify_oapi/api/dify/v1/model/audio_to_text_request_body.py,sha256=V8huUwbMF3p0_4IF6oHrYcwPsijSKiFc15UoZwLGzSA,614
171
173
  dify_oapi/api/dify/v1/model/audio_to_text_response.py,sha256=0PwRRsJYqkkcGW_vTORz_EAFUkHImzVOHtQoL87DQ5o,131
@@ -197,7 +199,7 @@ dify_oapi/api/dify/v1/version.py,sha256=lfiPjaBmdjLnObpB-6t3kJA8q_ODZHKGqhY0xk89
197
199
  dify_oapi/api/knowledge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
198
200
  dify_oapi/api/knowledge/service.py,sha256=_1xyfGSaxL8pEDT_z3iSJc4lErUXvDiS_NgHXOI0ImM,182
199
201
  dify_oapi/api/knowledge/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
200
- dify_oapi/api/knowledge/v1/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
202
+ dify_oapi/api/knowledge/v1/model/__init__.py,sha256=BPbYEK2b9d56VUKf2ETEjr-TkQekYdCDMLrLjjj-R04,18389
201
203
  dify_oapi/api/knowledge/v1/model/batch_info.py,sha256=U_1wTTrzoHqCgo8q6i3ggV6wPtAgdrxtxl9AFXcLoVI,2890
202
204
  dify_oapi/api/knowledge/v1/model/bind_tags_to_dataset_request.py,sha256=PL4z0V88FHS1kVXNdKy-sjYSSyxUjYasaYFubNvlHuY,1220
203
205
  dify_oapi/api/knowledge/v1/model/bind_tags_to_dataset_request_body.py,sha256=4xza_T0Z0XtzjMAvquHwEcjZzIrykoumKLlSfmuSjqI,885
@@ -328,7 +330,7 @@ dify_oapi/api/knowledge/v1/version.py,sha256=FcZ-TKNDYeww1gYmy2x9-cun7df80sh6RxI
328
330
  dify_oapi/api/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
331
  dify_oapi/api/workflow/service.py,sha256=FH62EwZDM-SyDYyEZ7bOpQtBtNdQmenjMt_2Z8C1EN0,181
330
332
  dify_oapi/api/workflow/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
- dify_oapi/api/workflow/v1/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
333
+ dify_oapi/api/workflow/v1/model/__init__.py,sha256=mNfqe5IpBe4qgvKlbfJYceQgRGO_L_sg0r87WKelwV8,5611
332
334
  dify_oapi/api/workflow/v1/model/app_info.py,sha256=xi69v-5uiK9kVpKbAVqXdYVDFdz2BOoS3QwV2m6f7Mg,1121
333
335
  dify_oapi/api/workflow/v1/model/chunk_workflow_event.py,sha256=u4AD24gfo8zt3vSpzd86osJVMhByfqS9RL33B6n8Pxk,2404
334
336
  dify_oapi/api/workflow/v1/model/end_user_info.py,sha256=dEh2SkXlCVIiy2Rh0Lm2avB1mUE5aIoF_SeO_aCaCpI,993
@@ -361,7 +363,7 @@ dify_oapi/api/workflow/v1/model/user_input_form.py,sha256=CzosaFCl38ZwHWUV1l-dLz
361
363
  dify_oapi/api/workflow/v1/model/workflow_completion_response.py,sha256=Onl4To6AnVA7kKQBYvFQzbzBs_teYw47m2FqJr_w0zc,1676
362
364
  dify_oapi/api/workflow/v1/model/workflow_file_info.py,sha256=zaWnKcuqcv3_3m5VTe4-Q__tf9cPBWK8iaIfvyRMcs8,1197
363
365
  dify_oapi/api/workflow/v1/model/workflow_finished_data.py,sha256=RldJrDuZjya8h4ggHgedOhS0MpFy5UFzPZ30Y0qdQRw,3142
364
- dify_oapi/api/workflow/v1/model/workflow_inputs.py,sha256=6fIqykI3KDf9u05TmFiaVnSiFPNvzLqPr-Mjx1AfrmQ,1697
366
+ dify_oapi/api/workflow/v1/model/workflow_inputs.py,sha256=5ItGYCHgefMuLEvLm8k8koUJEVJM-pl1Vcp8QcvQA1g,1748
365
367
  dify_oapi/api/workflow/v1/model/workflow_log_info.py,sha256=49DSP3fXh8KXfRpTaKl75vLHIW-KRO9L3-oC6P62OY8,1976
366
368
  dify_oapi/api/workflow/v1/model/workflow_run_data.py,sha256=2ZRE8bvsen1GurfCmPiRI1oWs2CJkGjBqIgZzriwPQ0,2246
367
369
  dify_oapi/api/workflow/v1/model/workflow_run_info.py,sha256=kMHKkEv7rpwxo9vd0AGLHYHPd8woYdNG5qf86z3f3Uw,987
@@ -394,7 +396,7 @@ dify_oapi/core/model/request_option.py,sha256=JWJ04FBIu-AwSMVSJC-U1QLF0b3PzKyHyU
394
396
  dify_oapi/core/type.py,sha256=XYa5Z_kEq4Q1YcCKiN6KooMt9OlLewT4wnJm-fhRsok,126
395
397
  dify_oapi/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
396
398
  dify_oapi/core/utils/strings.py,sha256=pVnu8iBLkMUb_7iOWYLl7RKSPe_J2GdA2rgCkh3VQec,217
397
- dify_oapi2-1.0.0.dist-info/LICENSE,sha256=-5M97mtDVKhlrPNcbmlktonQVEdD3M2FOaffN_1hgZk,1067
398
- dify_oapi2-1.0.0.dist-info/METADATA,sha256=OuYyrCd83x8WIroDJFf35y-A54IWPvndVNfGOS-sHpc,14313
399
- dify_oapi2-1.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
400
- dify_oapi2-1.0.0.dist-info/RECORD,,
399
+ dify_oapi2-1.0.2.dist-info/METADATA,sha256=ivb3mu-bCh1sISUJvJoHDOCEcyNxeAc0dcMkie-aqdQ,15025
400
+ dify_oapi2-1.0.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
401
+ dify_oapi2-1.0.2.dist-info/licenses/LICENSE,sha256=-5M97mtDVKhlrPNcbmlktonQVEdD3M2FOaffN_1hgZk,1067
402
+ dify_oapi2-1.0.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any