exa-js 1.7.0 → 1.7.1

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.mjs CHANGED
@@ -861,7 +861,8 @@ var Exa2 = class {
861
861
  stream: false,
862
862
  text: options?.text ?? false,
863
863
  model: options?.model ?? "exa",
864
- systemPrompt: options?.systemPrompt
864
+ systemPrompt: options?.systemPrompt,
865
+ outputSchema: options?.outputSchema
865
866
  };
866
867
  return await this.request("/answer", "POST", requestBody);
867
868
  }
@@ -890,7 +891,8 @@ var Exa2 = class {
890
891
  text: options?.text ?? false,
891
892
  stream: true,
892
893
  model: options?.model ?? "exa",
893
- systemPrompt: options?.systemPrompt
894
+ systemPrompt: options?.systemPrompt,
895
+ outputSchema: options?.outputSchema
894
896
  };
895
897
  const response = await fetchImpl(this.baseURL + "/answer", {
896
898
  method: "POST",