Skip to content

Conversation

@czajkub
Copy link
Collaborator

@czajkub czajkub commented Sep 11, 2025

This PR adds a tool used for searching for exact matches of values for the three database options existing in the server (DuckDB, ClickHouse, Elasticsearch).

The tool provides a way to search for text values, while also being able to specify the date range and record type. Since it deals correctly with text values, it solves the issue #7 - you can easily search for specific values, like with the example of sleep types touched upon in #7.

A thing worth considering is improving the docstrings so that the LLM can know what exactly it can look for - now, only 1 example (sleep types) is specified, and there isn't exactly a good documentation for what other values / record types can hold string values.

@czajkub czajkub marked this pull request as draft September 11, 2025 07:59
@czajkub czajkub self-assigned this Sep 11, 2025
@KaliszS KaliszS self-requested a review September 11, 2025 08:01
@czajkub czajkub marked this pull request as ready for review September 11, 2025 10:42
@KaliszS
Copy link
Collaborator

KaliszS commented Sep 11, 2025

It should have also solve issue #15, am I right?

Copy link
Collaborator

@KaliszS KaliszS left a comment

Choose a reason for hiding this comment

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

In the future we want to fine tune docstring in tools comments, ebcause tehre is a lot of redundancy now. But first we have to explore more advanced tools.

@czajkub czajkub merged commit 5215e66 into the-momentum:main Sep 11, 2025
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