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

Support the uri format #127

Closed
rlouf opened this issue Dec 17, 2024 · 4 comments · Fixed by #129
Closed

Support the uri format #127

rlouf opened this issue Dec 17, 2024 · 4 comments · Fixed by #129
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rlouf
Copy link
Member

rlouf commented Dec 17, 2024

The Json Schema specification defines the uri pre-built format, which is not yet implemented in outlines-core.

@rlouf rlouf added enhancement New feature or request good first issue Good for newcomers labels Dec 17, 2024
@sky-2002
Copy link
Contributor

@rlouf is this supposed to be added in the parsing.rs to_regex?

@rlouf
Copy link
Member Author

rlouf commented Dec 18, 2024

It should be implemented in parse_string_type as the format keyword applies to string types.

@sky-2002
Copy link
Contributor

sky-2002 commented Dec 19, 2024

yeah 👍🏻 , to_regex --> parse_type --> parse_string_type
Edit: Actually in FormatType

torymur pushed a commit that referenced this issue Dec 19, 2024
Adds URI parsing code and tests

Refer #127
@torymur
Copy link
Contributor

torymur commented Dec 19, 2024

Was closed by #129

@torymur torymur closed this as completed Dec 19, 2024
sky-2002 added a commit to sky-2002/outlines-core that referenced this issue Dec 19, 2024
Adds URI parsing code and tests

Refer dottxt-ai#127
sky-2002 added a commit to sky-2002/outlines-core that referenced this issue Dec 19, 2024
Adds URI parsing code and tests

Refer dottxt-ai#127
sky-2002 added a commit to sky-2002/outlines-core that referenced this issue Dec 19, 2024
Adds URI parsing code and tests

Refer dottxt-ai#127
sky-2002 added a commit to sky-2002/outlines-core that referenced this issue Dec 19, 2024
Adds URI parsing code and tests

Refer dottxt-ai#127
torymur pushed a commit to sky-2002/outlines-core that referenced this issue Dec 20, 2024
Adds URI parsing code and tests

Refer dottxt-ai#127
torymur pushed a commit to sky-2002/outlines-core that referenced this issue Dec 20, 2024
Adds URI parsing code and tests

Refer dottxt-ai#127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants