Fix the error message and dependency of openai backend (#71)
This commit is contained in:
@@ -164,7 +164,8 @@ def image_qa(s, image_file, question):
|
||||
```
|
||||
|
||||
### Constrained Decoding
|
||||
Use `regex=` to specify a regular expression as a decoding constraint.
|
||||
Use `regex` to specify a regular expression as a decoding constraint.
|
||||
This is only supported for local models.
|
||||
|
||||
```python
|
||||
@sgl.function
|
||||
|
||||
Reference in New Issue
Block a user