Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pattern support in json string #920

Merged
merged 1 commit into from
Dec 6, 2024
Merged

add pattern support in json string #920

merged 1 commit into from
Dec 6, 2024

Conversation

pelikhan
Copy link
Member

@pelikhan pelikhan commented Dec 6, 2024


* Added pattern property to JSONSchemaString type in "types/prompt_template.d.ts"
* Refactored JSONSchemaStringifyToTypeScript function logic to handle string type schema correctly, introducing a `break` statement after handling non-string types

generated by pr-describe

@pelikhan pelikhan changed the title add pattern support add pattern support in json string Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

LGTM 🚀

generated by pr-review

@pelikhan pelikhan merged commit 28b812a into main Dec 6, 2024
10 checks passed
@pelikhan pelikhan deleted the roamingrag branch December 6, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant