exa-js 2.5.1-beta.1 → 2.6.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/README.md CHANGED
@@ -62,7 +62,6 @@ const result = await exa.search("interesting articles about space", {
62
62
  ```ts
63
63
  const deepResult = await exa.search("Who leads OpenAI's safety team?", {
64
64
  type: "deep",
65
- answer: true,
66
65
  outputSchema: {
67
66
  type: "object",
68
67
  properties: {
@@ -73,8 +72,15 @@ const deepResult = await exa.search("Who leads OpenAI's safety team?", {
73
72
  required: ["leader", "title"]
74
73
  }
75
74
  });
75
+
76
+ console.log(deepResult.output?.content);
76
77
  ```
77
78
 
79
+ Deep search variants:
80
+ - `deep`: light mode
81
+ - `deep-reasoning`: base reasoning mode
82
+ - `deep-max`: max-effort mode
83
+
78
84
  ## Contents
79
85
 
80
86
  Get clean text, highlights, or summaries from any URL.