ai-functions 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/functions/ai.ts +1 -1
  2. package/package.json +1 -1
package/functions/ai.ts CHANGED
@@ -20,7 +20,7 @@ export type FunctionCallOptions = Omit<ChatCompletionCreateParamsBase, 'messages
20
20
 
21
21
  type AIFunctions<T = Record<string,string>> = Record<string, (
22
22
  returnSchema: T,
23
- options?: FunctionCallOptions
23
+ options?: Partial<FunctionCallOptions>
24
24
  ) => (
25
25
  args: string | object,
26
26
  callOptions?: Partial<FunctionCallOptions>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-functions",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Library for Developing and Managing AI Functions (including OpenAI GPT4 / GPT3.5)",
5
5
  "main": "index.js",
6
6
  "type": "module",