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
Copy file name to clipboardExpand all lines: doc/source/user_guide/agent.rst
+71-22Lines changed: 71 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,12 @@ Python layer and persist the tool in the Database using
72
72
- - ``tool_name``
73
73
- ``profile_name``
74
74
75
+
.. note::
76
+
77
+
Use ``select_ai.agent.AsyncTool.create_<tool>`` for corresponding async
78
+
methods. For e.g. ``await select_ai.agent.AsyncTool.create_rag_tool()``
79
+
can be used to create an RAG tool in an async application.
80
+
75
81
.. latex:clearpage::
76
82
77
83
.. autoclass:: select_ai.agent.ToolAttributes
@@ -131,9 +137,9 @@ List Tools
131
137
132
138
output::
133
139
134
-
Tool(tool_name=MOVIE_SQL_TOOL, attributes=ToolAttributes(instruction='This tool is used to work with SQL queries using natural language. Input should be a natural language query about data or database operations. The tool behavior depends on the configured action: RUNSQL - generates and executes the SQL query returning actual data; SHOWSQL - generates and displays the SQL statement without executing it; EXPLAINSQL - generates SQL and provides a natural language explanation of what the query does. Always provide clear, specific questions about the data you want to retrieve or analyze.', function='dbms_cloud_ai_agent.sql_tool', tool_params=SQLToolParams(_REQUIRED_FIELDS=None, credential_name=None, endpoint=None, notification_type=None, profile_name='oci_ai_profile', recipient=None, sender=None, slack_channel=None, smtp_host=None), tool_inputs=None, tool_type='SQL'), description=My Select AI MOVIE SQL agent tool)
135
-
136
-
Tool(tool_name=LLM_CHAT_TOOL, attributes=ToolAttributes(instruction='This tool is used to work with SQL queries using natural language. Input should be a natural language query about data or database operations. The tool behavior depends on the configured action: RUNSQL - generates and executes the SQL query returning actual data; SHOWSQL - generates and displays the SQL statement without executing it; EXPLAINSQL - generates SQL and provides a natural language explanation of what the query does. Always provide clear, specific questions about the data you want to retrieve or analyze.', function='dbms_cloud_ai_agent.sql_tool', tool_params=SQLToolParams(_REQUIRED_FIELDS=None, credential_name=None, endpoint=None, notification_type=None, profile_name='oci_ai_profile', recipient=None, sender=None, slack_channel=None, smtp_host=None), tool_inputs=None, tool_type='SQL'), description=My Select AI agent tool)
140
+
WEB_SEARCH_TOOL
141
+
MOVIE_SQL_TOOL
142
+
LLM_CHAT_TOOL
137
143
138
144
.. latex:clearpage::
139
145
@@ -193,7 +199,8 @@ List Tasks
193
199
194
200
output::
195
201
196
-
Task(task_name=ANALYZE_MOVIE_TASK, attributes=TaskAttributes(instruction='Help the user with their request about movies. User question: {query}. You can use SQL tool to search the data from database', tools='["MOVIE_SQL_TOOL"]', input=None, enable_human_tool=False), description=Movie task involving a human)
202
+
WEB_SEARCH_TASK
203
+
ANALYZE_MOVIE_TASK
197
204
198
205
.. latex:clearpage::
199
206
@@ -225,7 +232,11 @@ Create Agent
225
232
226
233
output::
227
234
228
-
Created Agent: Agent(agent_name=MOVIE_ANALYST, attributes=AgentAttributes(profile_name='LLAMA_4_MAVERICK', role='You are an AI Movie Analyst. Your can help answer a variety of questions related to movies. ', enable_human_tool=False), description=None)
Your can help answer a variety of questions related to movies. ',
239
+
enable_human_tool=False), description=None)
229
240
230
241
231
242
.. latex:clearpage::
@@ -261,7 +272,12 @@ Run Team
261
272
262
273
output::
263
274
264
-
The database contains 100 movies with various titles, genres, and release dates. The list includes a wide range of genres such as Action, Comedy, Drama, Thriller, Romance, Adventure, Mystery, Sci-Fi, Historical, Biography, War, Sports, Music, Documentary, Animated, Fantasy, Horror, Western, Family, and more. The release dates are primarily in January and February of 2019. Here is a summary of the movies:
275
+
The database contains 100 movies with various titles, genres, and release
276
+
dates. The list includes a wide range of genres such as Action, Comedy, Drama,
277
+
Thriller, Romance, Adventure, Mystery, Sci-Fi, Historical, Biography, War,
The key features of Oracle Database Machine Learning, as highlighted on the Oracle website, include:
296
-
297
-
- In-database machine learning: Build, train, and deploy machine learning models directly inside the Oracle Database, eliminating the need to move data.
298
-
- Support for multiple languages: Use SQL, Python, and R for machine learning tasks, allowing flexibility for data scientists and developers.
299
-
- Automated machine learning (AutoML): Automates feature selection, model selection, and hyperparameter tuning to speed up model development.
300
-
- Scalability and performance: Utilizes Oracle Database’s scalability, security, and high performance for machine learning workloads.
301
-
- Integration with Oracle Cloud: Seamlessly integrates with Oracle Cloud Infrastructure for scalable and secure deployment.
302
-
- Security and governance: Inherits Oracle Database’s robust security, data privacy, and governance features.
303
-
- Prebuilt algorithms: Offers a wide range of in-database algorithms for classification, regression, clustering, anomaly detection, and more.
304
-
- No data movement: Keeps data secure and compliant by performing analytics and machine learning where the data resides.
305
-
306
-
These features enable organizations to operationalize machine learning at scale, improve productivity, and maintain data security and compliance.
307
-
308
-
The main topic at the URL https://www.oracle.com/artificial-intelligence/database-machine-learning is Oracle's database machine learning capabilities, specifically how Oracle integrates artificial intelligence and machine learning features directly into its database products. The page highlights how users can leverage these built-in AI and ML tools to analyze data, build predictive models, and enhance business applications without moving data outside the Oracle Database environment.
309
-
310
-
The main topic of the website https://openai.com is artificial intelligence research and development. OpenAI focuses on creating and promoting advanced AI technologies, including products like ChatGPT, and provides information about their research, products, and mission to ensure that artificial general intelligence benefits all of humanity.
312
+
The key features of Oracle Database Machine Learning, as highlighted on the
313
+
Oracle website, include:
314
+
315
+
- In-database machine learning: Build, train, and deploy machine learning
316
+
models directly inside the Oracle Database, eliminating the need to move
317
+
data.
318
+
- Support for multiple languages: Use SQL, Python, and R for machine
319
+
learning tasks, allowing flexibility for data scientists and developers.
320
+
- Automated machine learning (AutoML): Automates feature selection, model
321
+
selection, and hyperparameter tuning to speed up model development.
322
+
- Scalability and performance: Utilizes Oracle Database’s scalability,
323
+
security, and high performance for machine learning workloads.
324
+
- Integration with Oracle Cloud: Seamlessly integrates with Oracle
325
+
Cloud Infrastructure for scalable and secure deployment.
326
+
- Security and governance: Inherits Oracle Database’s robust security,
327
+
data privacy, and governance features.
328
+
- Prebuilt algorithms: Offers a wide range of in-database algorithms for
329
+
classification, regression, clustering, anomaly detection, and more.
330
+
- No data movement: Keeps data secure and compliant by performing
331
+
analytics and machine learning where the data resides.
332
+
333
+
These features enable organizations to operationalize machine learning at
334
+
scale, improve productivity, and maintain data security and compliance.
335
+
336
+
The main topic at the URL https://www.oracle.com/artificial-intelligence/database-machine-learning
337
+
is Oracle's database machine learning capabilities, specifically how Oracle
338
+
integrates artificial intelligence and machine learning features directly
339
+
into its database products. The page highlights how users can leverage these
340
+
built-in AI and ML tools to analyze data, build predictive models, and enhance
341
+
business applications without moving data outside the Oracle Database
342
+
environment.
343
+
344
+
The main topic of the website https://openai.com is artificial
345
+
intelligence research and development. OpenAI focuses on creating and
346
+
promoting advanced AI technologies, including products like ChatGPT, and
347
+
provides information about their research, products, and mission to ensure
348
+
that artificial general intelligence benefits all of humanity.
0 commit comments