Results 6 issues of João Rafael

When using the `in(column(...), L(values))` operator, translation crashes with the H2Engine if the `values` list is empty. ``` java.lang.IndexOutOfBoundsException: index (0) must be less than size (0) at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:310) ~[guava-18.0.jar:na]...

When invoking the AbstractDatabaseEngine#query(Expression expr) method two database queries are executed. The first call is invoked with the following call stack: ``` AbstractDatabaseEngine#checkConnection() AbstractDatabaseEngine#getConnection() AbstractDatabaseEngine#iterator(String query, int fetchSize) ``` This...

# The bug Any prompt with a `#sellect` block fails when using OpenAI llm (specifically `gpt-3.5-turbo` maybe others). ``` Traceback (most recent call last): File "redacted/guidance/_program_executor.py", line 94, in run...

Fixes and adds unit test for #206. Uses the proposed implementation with extra stuff to clean-up tasks after completion.

## The bug Generation of `select` fails on OpenAI chat mode, depending on possible options. It seems to be related with common prefixes between two options. ## To Reproduce This...

### Current Behavior Importing gptcache fails in environments where redis is not installed (because its not declared as a required dependency) and it can't be installed (e.g. read only filesystem...