exa-js 1.9.2 → 1.10.0
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.
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import fetch2, { Headers } from "cross-fetch";
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "exa-js",
|
|
7
|
-
version: "1.
|
|
7
|
+
version: "1.10.0",
|
|
8
8
|
description: "Exa SDK for Node.js and the browser",
|
|
9
9
|
publishConfig: {
|
|
10
10
|
access: "public"
|
|
@@ -1511,7 +1511,8 @@ var Exa2 = class {
|
|
|
1511
1511
|
text: options?.text ?? false,
|
|
1512
1512
|
model: options?.model ?? "exa",
|
|
1513
1513
|
systemPrompt: options?.systemPrompt,
|
|
1514
|
-
outputSchema
|
|
1514
|
+
outputSchema,
|
|
1515
|
+
userLocation: options?.userLocation
|
|
1515
1516
|
};
|
|
1516
1517
|
return await this.request("/answer", "POST", requestBody);
|
|
1517
1518
|
}
|