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

OpenAI Chat 'choices' ("where") #299

Open
jloganolson opened this issue Dec 19, 2023 · 0 comments
Open

OpenAI Chat 'choices' ("where") #299

jloganolson opened this issue Dec 19, 2023 · 0 comments

Comments

@jloganolson
Copy link

Sorry if this is covered in a different thread are there any plans to support choices with openai chat akin to Outlines (https://github.com/outlines-dev/outlines/blob/main/outlines/models/openai.py#L191) - at least with pip install lmql this currently doesn't work:

sample(temperature=0.8)
   "A list of things not to forget when going to the sea (not travelling): \n"
   "- Sunglasses \n"
   for i in range(4):
      "- [THING] \n"
from
   'openai/gpt-3.5-turbo'
where
   THING in set(["Volleyball", "Sunscreen", "Bathing Suite"])
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

No branches or pull requests

1 participant