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

JDBC close Statement and ResultSet #83

Merged
merged 1 commit into from
May 22, 2023

Conversation

nomisRev
Copy link
Contributor

As discussed with @raulraja offline, a small PR addressing my review comments on #81.

@xebia-functional/team-ai

Copy link
Contributor

@raulraja raulraja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @nomisRev 🙌 !

@raulraja raulraja merged commit d6dc26c into sql May 22, 2023
@raulraja raulraja deleted the JDBC-close-statements-and-resultset branch May 22, 2023 11:11
realdavidvega added a commit that referenced this pull request May 22, 2023
* Adapt request to token limits + sql module
* bail if there is no tokens left after the original prompt
* spotlessApply
* Use preparedStatement, and close Statement and ResultSet (#83)
* Update core/src/commonMain/kotlin/com/xebia/functional/xef/auto/LLMAgent.kt
* merge
* Token limits in Messages + Improvements (#91)
* refactor: reduce complexity and reuse variables
* feat: add debug logger on open ai client for token usage
* feat: add tokens counting by model
* style: spotless happiness
* style: more spotless happiness

---------

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: David Vega Lichacz <7826728+realdavidvega@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants