minimaxir / simpleaichat

Python package for easily interfacing with chat apps, with robust features and minimal code complexity.
MIT License
3.48k stars 228 forks source link

Add `logprobs` parameter #101

Open minimaxir opened 9 months ago

minimaxir commented 9 months ago

Looks like it's now in OpenAI's chat completion endpoint so we will definitely need to support that.

Optionally, for tooling maybe allow a minimum prob threshold to use the tool (if not at a threshold, ask for clarification)