API Reference - Main Package#
Init file for Intentional's sample tools.
EndConversationTool
#
Bases: Tool
Tool to end the conversation. This tool must be handled by each model client. TODO
Source code in intentional/sample_tools.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
run(_)
async
#
Ends the conversation.
Source code in intentional/sample_tools.py
20 21 22 23 24 |
|
GetCurrentDateTimeTool
#
Bases: Tool
Simple tool to get the current date and time.
Source code in intentional/sample_tools.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
run(_)
async
#
Returns the current time.
Source code in intentional/sample_tools.py
36 37 38 39 40 |
|
RescheduleInterviewTool
#
Bases: Tool
Mock tool to reschedule an interview.
Source code in intentional/sample_tools.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|
run(_)
async
#
Returns the current time.
Source code in intentional/sample_tools.py
67 68 69 70 71 |
|
__about__
#
Package descriptors for intentional.
cli
#
Entry point for the Intentional CLI.
main()
#
Entry point for the Intentional CLI.
Source code in intentional/cli.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
sample_tools
#
Sample tools for Intentional's examples.
EndConversationTool
#
Bases: Tool
Tool to end the conversation. This tool must be handled by each model client. TODO
Source code in intentional/sample_tools.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
run(_)
async
#
Ends the conversation.
Source code in intentional/sample_tools.py
20 21 22 23 24 |
|
GetCurrentDateTimeTool
#
Bases: Tool
Simple tool to get the current date and time.
Source code in intentional/sample_tools.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
run(_)
async
#
Returns the current time.
Source code in intentional/sample_tools.py
36 37 38 39 40 |
|
RescheduleInterviewTool
#
Bases: Tool
Mock tool to reschedule an interview.
Source code in intentional/sample_tools.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|
run(_)
async
#
Returns the current time.
Source code in intentional/sample_tools.py
67 68 69 70 71 |
|