Skip to content

Commit

Permalink
Change repo name (functions != formulas)
Browse files Browse the repository at this point in the history
  • Loading branch information
robatwilliams committed Dec 21, 2023
1 parent 4b70d1a commit 05c674a
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For other platforms, [clear the Office cache](https://learn.microsoft.com/en-us/

`OAI.COST()` calculates the billing cost(s) of completion cell(s). Wrap it with `SUM()` to calculate a total.

See the [function metadata](https://github.com/robatwilliams/openai-excel-formulas/blob/main/src/functions/functions.json) for full documentation of functions and parameters. Excel's presentation of custom function documentation varies by platform, but is best in the _Insert Function_ dialog and/or the desktop platform.
See the [function metadata](https://github.com/robatwilliams/openai-excel-functions/blob/main/src/functions/functions.json) for full documentation of functions and parameters. Excel's presentation of custom function documentation varies by platform, but is best in the _Insert Function_ dialog and/or the desktop platform.

We advise caution to avoid unintentionally incurring excessive costs when working with many completion cells or expensive completions. Changes to dependency cells can cause mass recalculation, and certain actions in Excel can trigger full recalculation. You may wish to switch the calculation mode in Excel from automatic to manual.

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta
http-equiv="Refresh"
content="0; URL=https://github.com/robatwilliams/openai-excel-formulas"
content="0; URL=https://github.com/robatwilliams/openai-excel-functions"
/>
</head>

Expand Down
2 changes: 1 addition & 1 deletion manifest-localhost.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Description DefaultValue="Invoke the OpenAI API calls from formula."/>
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-64.png"/>
<SupportUrl DefaultValue="https://github.com/robatwilliams/openai-excel-formulas"/>
<SupportUrl DefaultValue="https://github.com/robatwilliams/openai-excel-functions"/>
<AppDomains>
<AppDomain>https://localhost:3000</AppDomain>
</AppDomains>
Expand Down
20 changes: 10 additions & 10 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<DefaultLocale>en-GB</DefaultLocale>
<DisplayName DefaultValue="OpenAI API Formulas for Excel"/>
<Description DefaultValue="Invoke the OpenAI API calls from formula."/>
<IconUrl DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/assets/icon-64.png"/>
<SupportUrl DefaultValue="https://github.com/robatwilliams/openai-excel-formulas"/>
<IconUrl DefaultValue="https://robatwilliams.github.io/openai-excel-functions/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://robatwilliams.github.io/openai-excel-functions/assets/icon-64.png"/>
<SupportUrl DefaultValue="https://github.com/robatwilliams/openai-excel-functions"/>
<AppDomains>
<AppDomain>https://robatwilliams.github.io</AppDomain>
</AppDomains>
Expand All @@ -24,7 +24,7 @@
</Sets>
</Requirements>
<DefaultSettings>
<SourceLocation DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/shared.html"/>
<SourceLocation DefaultValue="https://robatwilliams.github.io/openai-excel-functions/shared.html"/>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
Expand Down Expand Up @@ -55,14 +55,14 @@
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/assets/icon-80.png"/>
<bt:Image id="Icon.16x16" DefaultValue="https://robatwilliams.github.io/openai-excel-functions/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://robatwilliams.github.io/openai-excel-functions/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://robatwilliams.github.io/openai-excel-functions/assets/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Functions.Script.Url" DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/src/functions/functions.js"/>
<bt:Url id="Functions.Metadata.Url" DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/src/functions/functions.json"/>
<bt:Url id="Shared.Url" DefaultValue="https://robatwilliams.github.io/openai-excel-formulas/shared.html"/>
<bt:Url id="Functions.Script.Url" DefaultValue="https://robatwilliams.github.io/openai-excel-functions/src/functions/functions.js"/>
<bt:Url id="Functions.Metadata.Url" DefaultValue="https://robatwilliams.github.io/openai-excel-functions/src/functions/functions.json"/>
<bt:Url id="Shared.Url" DefaultValue="https://robatwilliams.github.io/openai-excel-functions/shared.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="Functions.Namespace" DefaultValue="OAI"/>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "openai-excel-formulas",
"name": "openai-excel-functions",
"version": "1.0.0",
"private": true,
"description": "Invoke the OpenAI API calls from formula.",
"homepage": "https://github.com/robatwilliams/openai-excel-formulas",
"homepage": "https://github.com/robatwilliams/openai-excel-functions",
"license": "ISC",
"author": "Chris Price & Robat Williams",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/functions/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ConcurrencyLimitedFetch {
}
}

const COMPLETION_ENTITY_KIND = 'openai-excel-formulas:chat-completion';
const COMPLETION_ENTITY_KIND = 'openai-excel-functions:chat-completion';
const EMPTY_OR_ZERO = 0;

const fetcher = new ConcurrencyLimitedFetch();
Expand Down
2 changes: 1 addition & 1 deletion testFramework/completionEntityStub.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function makeCompletionEntity({
_entityKind: {
type: 'String',
basicType: 'String',
basicValue: 'openai-excel-formulas:chat-completion',
basicValue: 'openai-excel-functions:chat-completion',
},
_lines: undefined, // Not for programmatic use
requestBody: {
Expand Down

0 comments on commit 05c674a

Please sign in to comment.