fabricatio 0.17.0__cp312-cp312-macosx_11_0_arm64.whl → 0.17.1__cp312-cp312-macosx_11_0_arm64.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.
- fabricatio/rust.cpython-312-darwin.so +0 -0
- {fabricatio-0.17.0.data → fabricatio-0.17.1.data}/scripts/tdown +0 -0
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.1.dist-info}/METADATA +17 -47
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.1.dist-info}/RECORD +6 -6
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.1.dist-info}/WHEEL +0 -0
- {fabricatio-0.17.0.dist-info → fabricatio-0.17.1.dist-info}/licenses/LICENSE +0 -0
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fabricatio
|
3
|
-
Version: 0.17.
|
3
|
+
Version: 0.17.1
|
4
4
|
Classifier: License :: OSI Approved :: MIT License
|
5
5
|
Classifier: Programming Language :: Rust
|
6
6
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -216,28 +216,26 @@ _(For full example details, please check our detailed documentation, see [Exampl
|
|
216
216
|
## Configuration
|
217
217
|
|
218
218
|
Fabricatio supports flexible configuration through multiple sources, with the following priority order:
|
219
|
-
`./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Defaults`.
|
219
|
+
`Call Arguments` > `./.env` > `Environment Variables` > `./fabricatio.toml` > `./pyproject.toml` > `<ROMANING>/fabricatio/fabricatio.toml` > `Builtin Defaults`.
|
220
220
|
|
221
221
|
Below is a unified view of the same configuration expressed in different formats:
|
222
222
|
|
223
|
-
###
|
224
|
-
|
225
|
-
#### Environment variables or dotenv file
|
223
|
+
### Environment variables or dotenv file
|
226
224
|
```dotenv
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
225
|
+
FABRICATIO_LLM__API_ENDPOINT=https://api.openai.com
|
226
|
+
FABRICATIO_LLM__API_KEY=your_openai_api_key
|
227
|
+
FABRICATIO_LLM__TIMEOUT=300
|
228
|
+
FABRICATIO_LLM__MAX_RETRIES=3
|
229
|
+
FABRICATIO_LLM__MODEL=openai/gpt-3.5-turbo
|
230
|
+
FABRICATIO_LLM__TEMPERATURE=1.0
|
231
|
+
FABRICATIO_LLM__TOP_P=0.35
|
232
|
+
FABRICATIO_LLM__GENERATION_COUNT=1
|
233
|
+
FABRICATIO_LLM__STREAM=false
|
234
|
+
FABRICATIO_LLM__MAX_TOKENS=8192
|
235
|
+
FABRICATIO_DEBUG__LOG_LEVEL=INFO
|
238
236
|
```
|
239
237
|
|
240
|
-
|
238
|
+
### `fabricatio.toml` file
|
241
239
|
```toml
|
242
240
|
[llm]
|
243
241
|
api_endpoint = "https://api.openai.com"
|
@@ -255,7 +253,7 @@ max_tokens = 8192
|
|
255
253
|
log_level = "INFO"
|
256
254
|
```
|
257
255
|
|
258
|
-
|
256
|
+
### `pyproject.toml` file
|
259
257
|
```toml
|
260
258
|
[tool.fabricatio.llm]
|
261
259
|
api_endpoint = "https://api.openai.com"
|
@@ -273,37 +271,9 @@ max_tokens = 8192
|
|
273
271
|
log_level = "INFO"
|
274
272
|
```
|
275
273
|
|
276
|
-
## Development Setup
|
277
|
-
|
278
|
-
1. **Clone the Repository**:
|
279
|
-
```bash
|
280
|
-
git clone https://github.com/Whth/fabricatio.git
|
281
|
-
cd fabricatio
|
282
|
-
```
|
283
|
-
2. **Install Dependencies**:
|
284
|
-
```bash
|
285
|
-
make init
|
286
|
-
```
|
287
|
-
|
288
|
-
3. **Build the Package**:
|
289
|
-
```bash
|
290
|
-
make dev
|
291
|
-
```
|
292
|
-
4. **Run Tests**:
|
293
|
-
```bash
|
294
|
-
make tests
|
295
|
-
```
|
296
|
-
|
297
274
|
## Contributing
|
298
275
|
|
299
|
-
|
300
|
-
|
301
|
-
1. Fork the repository.
|
302
|
-
2. Create your feature branch (`git checkout -b feat/new-feature`).
|
303
|
-
3. [Optional]Create a py/rs subpackage with `make rs` or `make py`
|
304
|
-
4. Commit your changes (`git commit -am 'Add new feature'`).
|
305
|
-
5. Push to the branch (`git push origin feat/new-feature`).
|
306
|
-
6. Create a new Pull Request.
|
276
|
+
We welcome contributions from everyone! Before contributing, please read our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md).
|
307
277
|
|
308
278
|
## License
|
309
279
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
fabricatio-0.17.
|
2
|
-
fabricatio-0.17.
|
3
|
-
fabricatio-0.17.
|
4
|
-
fabricatio-0.17.
|
1
|
+
fabricatio-0.17.1.data/scripts/tdown,sha256=mcIFLToVOrFqP04GlVnrbCymJPOZX8ukHZiNTIe0u90,4387536
|
2
|
+
fabricatio-0.17.1.dist-info/METADATA,sha256=dE66xW1imzsLj_WgqNGTQEWr0Nfv7ySUfkDou1l4HGs,9252
|
3
|
+
fabricatio-0.17.1.dist-info/WHEEL,sha256=OKNaprf69OMJcUM9j7q_InsmuCwJKmTkk4eP74FSm7I,104
|
4
|
+
fabricatio-0.17.1.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
|
5
5
|
fabricatio/__init__.py,sha256=4a_7gabZhl9dzonBxcF-8peCGTLNxYJSDfInf1VhRsY,568
|
6
6
|
fabricatio/actions/__init__.py,sha256=i2aGE3ZtNV2CTcYCAydlAKZq5fcQBRKlR3IL39weLEI,2243
|
7
7
|
fabricatio/capabilities/__init__.py,sha256=_8o5ikdOnqRFw7B4qIf57OG5C29YsoBeep8eL3fhcmw,3396
|
8
8
|
fabricatio/models/__init__.py,sha256=YG5rqio1YGHAOoiBIXKyj5XWqVQtEzcOKTlZB28IJ-4,1837
|
9
9
|
fabricatio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
fabricatio/rust.cpython-312-darwin.so,sha256
|
10
|
+
fabricatio/rust.cpython-312-darwin.so,sha256=-ABdmLoQgao10gf2NsQ-2fBEOwgVgF8FEu_qoLdspWY,454640
|
11
11
|
fabricatio/workflows/__init__.py,sha256=sr-0tgpNPdN5t2pDQa-gp-KUE7K0QDtjP9QGvWYLZ9A,305
|
12
|
-
fabricatio-0.17.
|
12
|
+
fabricatio-0.17.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|