Skip to content

Commit c90720e

Browse files
committed
Downgrade required symfony/validator
1 parent a0d775f commit c90720e

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

bin/code2md.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ for dir in packages/*; do
1515
fi
1616
done
1717

18-
echo "📦 Exporting polyglot sources to Markdown"
18+
echo "📦 Exporting sub-package sources to Markdown"
1919

2020
code2prompt "packages/utils/src/JsonSchema" -o "tmp/util-json-schema.md"
2121
code2prompt "packages/utils/src/Messages" -o "tmp/util-messages.md"
2222
code2prompt "packages/utils/src/Events" -o "tmp/util-events.md"
2323
code2prompt "packages/utils/src/Config" -o "tmp/util-config.md"
24+
2425
code2prompt "packages/polyglot/src/LLM" -o "tmp/poly-llm.md"
2526
code2prompt "packages/polyglot/src/Embeddings" -o "tmp/poly-embeddings.md"
2627

@@ -44,6 +45,11 @@ mkdir -p ./tmp/instructor-tmp
4445
cp -rf "./packages/instructor/src/"* "./tmp/instructor-tmp/"
4546
# remove everything under tmp/instructor-tmp/LLM/Drivers/* except ./OpenAI and ./Gemini
4647
rm -rf "./tmp/instructor-tmp/Extras"
48+
rm -rf "./tmp/instructor-tmp/Events"
49+
rm -rf "./tmp/instructor-tmp/Deserialization"
50+
rm -rf "./tmp/instructor-tmp/Transformation"
51+
rm -rf "./tmp/instructor-tmp/Validation"
52+
rm -f "./tmp/instructor-tmp/SettingsStructuredOutputConfigProvider.php"
4753
code2prompt "./tmp/instructor-tmp" -o "./tmp/instructor-cut.md"
4854
rm -rf ./tmp/instructor-tmp
4955

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"symfony/property-info": "^6.4|^7.0",
122122
"symfony/serializer": "^6.4|^7.0",
123123
"symfony/type-info": "^6.4|^7.1",
124-
"symfony/validator": "^7.2",
124+
"symfony/validator": "^6.4 || ^7.0",
125125
"symfony/var-dumper": "^5.4|^6.0|^7.0",
126126
"vlucas/phpdotenv": "^5.6"
127127
},

examples/A02_Advanced/CustomClientParameters/run.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Customize parameters of LLM driver'
3-
docname: 'custom_llm'
3+
docname: 'custom_config'
44
---
55

66
## Overview

examples/B02_LLMAdvanced/CustomClientParameters/run.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 'Customize parameters of LLM driver'
3-
docname: 'custom_llm'
2+
title: 'Customize configuration of LLM driver'
3+
docname: 'custom_config'
44
---
55

66
## Overview

0 commit comments

Comments
 (0)