forked from StartAutomating/PowerShellAI
-
Notifications
You must be signed in to change notification settings - Fork 1
/
PowerShellAI.psd1
110 lines (101 loc) · 2.96 KB
/
PowerShellAI.psd1
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
@{
RootModule = 'PowerShellAI.psm1'
ModuleVersion = '0.6.2'
GUID = '081ce7b4-6e63-41ca-92a7-2bf72dbad018'
Author = 'Douglas Finke'
CompanyName = 'Doug Finke'
Copyright = 'c 2023 All rights reserved.'
Description = @'
The PowerShell AI module integrates with the OpenAI API and let's you easily access the GPT models for text completion, image generation and more.
'@
FunctionsToExport = @(
'Get-OpenAIEdit'
'Get-OpenAIEditsUri'
'Get-OpenAIEmbeddings'
'Get-OpenAIEmbeddingsUri'
'ai'
'ConvertFrom-GPTMarkdownTable'
'copilot'
'Disable-AIShortCutKey'
'Enable-AIShortCutKey'
'Get-DalleImage'
'Get-ChatCompletion'
'Get-GPT3Completion'
'Get-GPT4Completion'
'Get-OpenAIBaseRestUri'
'Get-OpenAIChatCompletionUri'
'Get-OpenAICompletionsUri'
'Get-OpenAIImagesGenerationsUri'
'Get-OpenAIKey'
'Get-OpenAIModel'
'Get-OpenAIModelsUri'
'Get-OpenAIModeration'
'Get-OpenAIModerationsUri'
'Get-OpenAIEditsUri'
'Get-OpenAIEdit'
'New-SpreadSheet'
# new chat functions
'Add-ChatMessage'
'Clear-ChatMessages'
'Export-ChatSession'
'Get-ChatMessages'
'Get-ChatPayload'
'Get-ChatSession'
'Get-ChatSessionContent'
'Get-ChatSessionFile'
'Get-ChatSessionOptions'
'Get-ChatSessionPath'
'Get-ChatSessionTimeStamp'
'New-Chat'
'New-ChatAssistantMessage'
'New-ChatMessage'
'New-ChatMessageTemplate'
'New-ChatSystemMessage'
'New-ChatUserMessage'
'Reset-ChatSessionOptions'
'Reset-ChatSessionPath'
'Reset-ChatSessionTimeStamp'
'Set-ChatSessionOption'
'Set-ChatSessionPath'
'Stop-Chat'
'Test-ChatInProgress'
#
# Azure OpenAI
'Get-ChatAPIProvider'
'Get-ChatAzureOpenAIURI'
'Get-AzureOpenAIOptions'
'Reset-AzureOpenAIOptions'
'Set-AzureOpenAI'
'Set-ChatAPIProvider'
'Set-AzureOpenAIOptions'
#
'Get-OpenAIUsage'
'Get-OpenAIUser'
'Invoke-AIErrorHelper'
'Invoke-AIExplain'
'Invoke-AIFunctionBuilder'
'Invoke-OpenAIAPI'
'New-SpreadSheet'
'Set-DalleImageAsWallpaper'
'Set-OpenAIKey'
'Test-AzureOpenAIKey'
# Notebook Copilot
'NBCopilot'
)
AliasesToExport = @(
'gpt'
'gpt4'
'chat'
'ieh'
'explain'
'ifb'
)
PrivateData = @{
PSData = @{
Category = "PowerShell GPT Module"
Tags = @("PowerShell", "GPT", "OpenAI")
ProjectUri = "https://github.com/dfinke/PowerShellAI"
LicenseUri = "https://github.com/dfinke/PowerShellAI/blob/master/LICENSE.txt"
}
}
}