Repository navigation
Feat/react ontology agent clean #488
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
Merged
+7,255
−22,601
Merged
Changes from 33 commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
4131598
Add a ReAct text-to-SQL agent that searches the ontology with tools
ftatiana-nv 3ad349d
Name near-copy tables in the ReAct retrieve output
ftatiana-nv a3e59aa
Give ReAct tables their Term descriptions
ftatiana-nv b5e4f63
Enable the ReAct text-to-SQL agent by default
liavnave 643ce96
Default the non-reasoning model to Claude Sonnet
liavnave a9c4ee9
Raise the ReAct agent's default episode limits
liavnave 2691fde
Keep semantic FKs inside their table family
ftatiana-nv 608afcd
Ask the ReAct agent for exactly the requested output fields
ftatiana-nv 7d69950
Search tables and columns with their terms and attributes
ftatiana-nv ec073bf
Default the nvapi- embedding model to nemotron-3-embed-1b
tomer-levin-nv 8ccd111
Guide SQL generation to build multi-part questions with CTEs and keep…
tomer-levin-nv 31f2681
Run text-to-SQL through the ReAct agent only, without LangGraph
ftatiana-nv 8f65cf6
Name the text-to-SQL and entity-coverage pipeline parts steps, not nodes
ftatiana-nv c57f029
Answer forecasting questions with a KumoRFM predict tool in the ReAct…
liavnave 85094da
Let the ReAct agent grep a run_sql result too long to show, behind TE…
ftatiana-nv 0b5afbf
Let the ReAct agent answer with run_sql(final=true) instead of submit…
ftatiana-nv a197c17
Check ReAct SQL against the catalog of the database it runs on
liavnave 37ee83a
Reject ReAct SQL on tables no retrieve result named
liavnave a0dabaa
Bound the ReAct sibling row counts in time and number
liavnave 8245f58
Count repeated ReAct tool calls against the budget
liavnave f859e39
Search the semantic layer in the ReAct retrieve tool
ftatiana-nv bb03fe3
Pass a debug turn's rejected SQL and feedback to the SQL generator
liavnave 8b8aace
Keep other databases' tables out of a retrieve's table limit
liavnave aa4448c
Retry every vector search on a transient embedding error
ftatiana-nv 678bcf1
Give the ReAct agent the organization's custom prompts and acronyms
liavnave d55b7db
Describe every table and column at the end of a compilation
ftatiana-nv e11ea37
Show only names and descriptions on retrieve's tables and columns
ftatiana-nv a9073cc
Copy semantic descriptions onto tables and columns that have none
ftatiana-nv 5455891
Re-embed attributes and Terms when their column or table description …
ftatiana-nv 65b4fec
Shorten retrieve tables that don't fit and name what was left out
ftatiana-nv f423b56
Answer information questions in words through submit
liavnave bda496e
Look information questions up as themselves, and answer them only fro…
ftatiana-nv 3fc4e08
Shorten the information opening and name the tool variants by what th…
ftatiana-nv 522f779
Offer grep by default
ftatiana-nv 190b6aa
Let submit leave sql out
ftatiana-nv 1381fed
Accept an answer without SQL only after an information lookup
ftatiana-nv acb8918
Keep a crossing semantic FK when its twin cannot be checked
ftatiana-nv 01ba4e9
Type the test helpers in the information and table-family tests
ftatiana-nv 397324c
Show columns without an attribute in the information view
ftatiana-nv 7f2b617
Skip attributes of another database in the information view
ftatiana-nv 008dab6
Keep an oversized first block in the information view, cut to fit
ftatiana-nv 097d4c9
Do not list an already shown table as also found in retrieve
ftatiana-nv 9e255b6
security, sql should be read-only
DinaLaptii 59b14e8
Type the retrieve test fixture helpers
ftatiana-nv 12a25ec
Keep retrieve's omission notice inside the observation limit
ftatiana-nv ad57f89
Bound grep's regex matching with a time budget
ftatiana-nv 279db42
Turn the grep tool off by default
ftatiana-nv a3d4795
Look up the twin column by table id, not by name across schemas
DinaLaptii 10d4223
live.NEW_CUSTOMERS and archive.NEW_CUSTOMERS no longer overwrite each…
DinaLaptii 6881e7a
Mark the information lookup done only after it returns
ftatiana-nv a43be0b
Merge remote-tracking branch 'origin/main' into feat/react-ontology-a…
liavnave 9538208
Merge remote-tracking branch 'origin/feat/react-ontology-agent_clean'…
liavnave bedcbe2
Match grep against whole cells, not their shortened display
ftatiana-nv 1f058fc
Type the pagila fixture in the read-only Postgres tests
ftatiana-nv 9c80cdf
added timeout
DinaLaptii caad32e
Revert semantic folder to main
liavnave 1c541a6
Stop grep once its shared time budget is spent
ftatiana-nv c30c1fb
revert
DinaLaptii 61a4c46
fix
DinaLaptii 3780e10
Allow one answer attempt per reply after the tool-call budget
liavnave ed7f227
Remove unused fetch_column_attributes_for_embedding
liavnave f69caec
Annotate the attribute embedding select helpers
liavnave a6dbbcf
Annotate the sql_fragments reference helpers
liavnave 21a03f9
Keep a database with no schemas from borrowing every other database's
ftatiana-nv 8730ebd
Remove unused delete_semantic_fk and fill_empty_descriptions
tomer-levin-nv 822b3d1
Re-embed a Term with the embed_term signature it has
tomer-levin-nv 8a5de55
Match ReAct SQL tables to the schema retrieve showed, not only the name
DinaLaptii 7097c1f
Annotate the debug-evidence grounding tests
liavnave 0c8b1ec
Refuse tables in a catalog other than the connector's
ftatiana-nv 8ac8145
Revert semantic-layer write and embedding changes to main
tomer-levin-nv 04186e8
Tag the columns retrieve matched
ftatiana-nv dac4d1e
Count only the SQL a definition shows as in view
ftatiana-nv 8716f10
Search a one-word query by physical name
ftatiana-nv 211e9ce
Show the submitted SQL in the previous-attempt note
DinaLaptii 2b4e533
Classify embedding retries by error type, not message text
ftatiana-nv c325a8e
Pass organization instructions and glossary to PQL generation
liavnave 95d0bee
Match table names in view at SQL identifier boundaries
DinaLaptii f821113
fix
DinaLaptii 0509ec0
Count only semantic Terms when deciding a table is covered
tomer-levin-nv f6fac80
Let fetch_table_column_names raise instead of returning an empty catalog
tomer-levin-nv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.