Skip to content

Conversation

ochafik
Copy link
Collaborator

@ochafik ochafik commented Mar 22, 2024

Tiny follow-ups to #5978.

Had to switch server to using json = nlohmann::ordered_json, which should otherwise be inconsequential.

(respecting the schema's order is important as it allows "output engineering", e.g. ask the structured output to start with the model's "thoughts" before giving its answer)

@ochafik ochafik marked this pull request as ready for review March 22, 2024 12:45
@ggerganov ggerganov merged commit 72114ed into ggml-org:master Mar 22, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
…l-org#6232)

* json: ordered json in server/schema converter to respect orig order

* json: ws nits

* json: support non-string const / enums
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 3, 2024
…l-org#6232)

* json: ordered json in server/schema converter to respect orig order

* json: ws nits

* json: support non-string const / enums
tybalex pushed a commit to rubra-ai/tools.cpp that referenced this pull request Apr 17, 2024
…l-org#6232)

* json: ordered json in server/schema converter to respect orig order

* json: ws nits

* json: support non-string const / enums
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.

2 participants