-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathPSAI.psd1
More file actions
172 lines (163 loc) · 4.96 KB
/
PSAI.psd1
File metadata and controls
172 lines (163 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
@{
RootModule = 'PSAI.psm1'
ModuleVersion = '0.5.3'
GUID = '68662d19-a8f1-484f-b1b7-3bf0e8a436df'
Author = 'Douglas Finke'
CompanyName = 'Doug Finke'
Copyright = '© 2025 All rights reserved.'
Description = @'
PSAI brings OpenAI ChatGPT to PowerShell, leveraging advanced AI capabilities in your PowerShell scripts for dynamic, intelligent automation and data processing
'@
PowerShellVersion = '7.1'
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @()
FunctionsToExport = @(
# Private
'Add-OAIToolsToList'
'Get-MultiPartFormData'
'Invoke-OAIBeta'
'Get-ToolProperty'
# # Agent Tools
# 'New-CalculatorTool'
# 'New-TavilyAITool'
# 'New-StockTickerTool'
# 'New-YouTubeTool'
# # Agent Assistants
# 'Invoke-YouTubeAIAssistant'
# 'Search-YouTube'
# 'Get-YouTubeTranscript'
# Public
'Out-BoxedText'
'Invoke-QuickPrompt'
'New-Agent'
'Get-AgentResponse'
'Invoke-InteractiveCLI'
'Add-OAIVectorStore'
'Clear-OAIAllItems'
'Clear-OAIAssistants'
'Clear-OAIFiles'
'ConvertFrom-FunctionDefinition'
'ConvertFrom-GPTMarkdownTable'
'ConvertFrom-OAIAssistant'
'ConvertFrom-UnixTimestamp'
'ConvertTo-AIPrompt'
'ConvertTo-OAIAssistant'
'ConvertTo-OAIMessage'
'ConvertTo-OpenAIFunctionSpec'
'ConvertTo-OpenAIFunctionSpecDataType'
'ConvertTo-ToolFormat'
'Copy-OAIAssistant'
'Disable-UnitTesting'
'dumpJson'
'Enable-AIShortCutKey'
'Enable-OAICodeInterpreter'
'Enable-OAIFileSearchTool'
'Enable-OAIRetrievalTool'
'Enable-UnitTesting'
'Export-OAIAssistant'
'Format-OAIFunctionCall'
'Get-AzOAISecrets'
'Get-FunctionDefinition'
'Get-OAIAssistant'
'Get-OAIAssistantItem'
'Get-OAIFile'
'Get-OAIFileContent'
'Get-OAIFileItem'
'Get-OAIFunctionCallSpec'
'Get-OAIImageGeneration'
'Get-OAIMessage'
'Get-OAIMessageItem'
'Get-OAIProvider'
'Get-OAIRun'
'Get-OAIRunItem'
'Get-OAIRunStep'
'Get-OAIRunStepItem'
'Get-OAIThread'
'Get-OAIThreadItem'
'Get-OAIVectorStore'
'Get-OAIVectorStoreFile'
'Get-OAIVectorStoreFileBatch'
'Get-OAIVectorStoreFileItem'
'Get-OAIVectorStoreFilesInBatch'
'Get-OAIVectorStoreItem'
'Get-OpenAISpecDescriptions'
'Get-UnitTestingData'
'Get-UnitTestingStatus'
'Import-OAIAssistant'
'Invoke-AIExplain'
'Invoke-AIPrompt'
'Invoke-FilesToPrompt'
'Invoke-OAIChat'
'Invoke-OAIChatCompletion'
'Invoke-OAIFunctionCall'
'Invoke-OAIUploadFile'
'Invoke-QuickChat'
'Invoke-SimpleQuestion'
'New-ChatRequestAssistantMessage'
'New-ChatRequestSystemMessage'
'New-ChatRequestToolMessage'
'New-ChatRequestUserMessage'
'New-OAIAssistant'
'New-OAIAssistantWithVectorStore'
'New-OAIChatMessage'
'New-OAIMessage'
'New-OAIRun'
'New-OAIThread'
'New-OAIThreadAndRun'
'New-OAIThreadQuery'
'New-OAIVectorStore'
'New-OAIVectorStoreFile'
'New-OAIVectorStoreFileBatch'
'New-OpenAIChat'
'Out-OAIMessages'
'Register-Tool'
'Remove-OAIAssistant'
'Remove-OAIFile'
'Remove-OAIMessage'
'Remove-OAIThread'
'Remove-OAIVectorStore'
'Remove-OAIVectorStoreFile'
'Reset-AIShortCutKey'
'Reset-OAIProvider'
'Set-AzOAISecrets'
'Set-OAIProvider'
'Show-OAIAPIReferenceWebPage'
'Show-OAIAssistantWebPage'
'Show-OAIBilling'
'Show-OAIPlaygroundWebPage'
'Show-OAIVectorStoreWebPage'
'Stop-OAIRun'
'Stop-OAIVectorStoreFileBatch'
'Submit-OAIMessage'
'Submit-OAIToolOutputs'
'Test-JSONReplacement'
'Test-LLMModel'
'Test-OAIAssistantId'
'Update-OAIAssistant'
'Update-OAIMessage'
'Update-OAIRun'
'Update-OAIThread'
'Update-OAIVectorStore'
'Wait-OAIOnRun'
)
AliasesToExport = @(
'ai'
'explain'
'goaia'
'noaia'
'noait'
'roaia'
'uoaia'
'q'
'Start-Conversation'
)
PrivateData = @{
PSData = @{
Category = "PowerShell AI Assistant Module"
Tags = @("PowerShell", "GPT", "OpenAI", "Assistant")
ProjectUri = "https://github.com/dfinke/PSAI"
LicenseUri = "https://github.com/dfinke/PSAI/blob/main/LICENSE"
IconUri = 'https://raw.githubusercontent.com/dfinke/PSAI/main/Media/PSAI.png'
}
}
}