Updating lm-format-enforcer version and adding links to decoding libraries in docs (#4222)

This commit is contained in:
Noam Gat
2024-04-20 08:33:16 +00:00
committed by GitHub
parent 91528575ec
commit cc74b2b232
3 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -197,7 +197,11 @@ class EngineArgs:
default='outlines',
choices=['outlines', 'lm-format-enforcer'],
help='Which engine will be used for guided decoding'
' (JSON schema / regex etc).')
' (JSON schema / regex etc) by default. Currently support '
'https://github.com/outlines-dev/outlines and '
'https://github.com/noamgat/lm-format-enforcer.'
' Can be overridden per request via guided_decoding_backend'
' parameter.')
# Parallel arguments
parser.add_argument('--worker-use-ray',
action='store_true',