You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,6 +62,13 @@ tell me about the columns in sample.employee
62
62
63
63
- For each token, we check if it corresponds to a valid table or object reference within the active SQL Job.
64
64
- In this example, `sample.employee` is recognized as a valid table reference.
65
+
- We handlee qualified and unqualfied object references different. If you use a qualfified reference (e.g. `sample.employee`), then the agent knows to look in the `sample` schema/library. If you use an unqualified reference (e.g. `employee`), then the agent will look in the library list of the active SQL job to resolve the object.
66
+
67
+
---
68
+
69
+
<Asidetype="tip">
70
+
TLDR: We will resolve unqualifed objects in your request by using your jobs library list.
71
+
</Aside>
65
72
66
73
#### Step 3: Retrieve Metadata for Valid References
67
74
@@ -118,8 +125,7 @@ If you do not want to share your data with any AI services, then do not invoke t
118
125
119
126
### We do
120
127
121
-
* Send table metadata which can be found from `QSYS2.SYSCOLUMNS2` and `QSYS2.SYSKEYCST` in the context based on user input, including table names, column names, types and comments
122
-
* Send system metadata (when the user is asking for the activity summary) which is found with `TABLE(QSYS2.SYSTEM_STATUS(RESET_STATISTICS=>'YES',DETAILED_INFO=>'ALL'))` when requested by the user.
128
+
* Send table metadata which can be found from `QSYS2.SYSCOLUMNS2`, `QSYS2.SYSKEYCST` and results from `QSYS2.GENERATE_SQL`.
0 commit comments