Skip to content

An AI-powered search engine with a generative UI

Resolve merge conflicts with upstream for local search

casistack2b6e4c86c5b3
diff --cc README.md
index 88f95c1b,7bd27106..7c4f4d2c
--- a/README.md
+++ b/README.md
@@@ -37,9 -38,9 +38,9 @@@ An AI-powered search engine with a gene
- App framework: [Next.js](https://nextjs.org/)
- Text streaming / Generative UI: [Vercel AI SDK](https://sdk.vercel.ai/docs)
- Generative Model: [OpenAI](https://openai.com/)
-- Search API: [Tavily AI](https://tavily.com/) / [Serper](https://serper.dev)
+- Search API: [Tavily AI](https://tavily.com/) / [Serper](https://serper.dev) / [SearchXNG](https://docs.searxng.org/)
- Reader API: [Jina AI](https://jina.ai/)
- - Serverless Database: [Upstash](https://upstash.com/)
+ - Database (Serverless/Local): [Upstash](https://upstash.com/) / [Redis](https://redis.io/)
- Component library: [shadcn/ui](https://ui.shadcn.com/)
- Headless component primitives: [Radix UI](https://www.radix-ui.com/)
- Styling: [Tailwind CSS](https://tailwindcss.com/)
diff --cc lib/types/index.ts
index 99993c36,b8d65aa1..8a694e3d
--- a/lib/types/index.ts
+++ b/lib/types/index.ts
@@@ -1,8 -1,7 +1,8 @@@
export type SearchResults = {
images: SearchResultImage[]
results: SearchResultItem[]
- query: string
+ number_of_results?: number
+ query: string
}
// If enabled the include_images_description is true, the images will be an array of { url: string, description: string }
@@@ -12,8 -11,7 +12,9 @@@ export type SearchResultImage
| {
url: string
description: string
-- }
++ number_of_results?: number
++}
+
export type ExaSearchResults = {
results: ExaSearchResultItem[]