Trying an Open-Source Answer Engine with Groq and Ollama

Matthew Berman installs a Perplexity-inspired search app, demonstrates a hosted-model configuration and attempts an unfinished local-model integration.

MBMatthew BermanVortrag · Forward Future
Kanal
Matthew Berman
Veröffentlicht
28. März 2024
Video
9:19
Lesezeit
2 Min.
Folien
1
Original
Englisch
Auf YouTube öffnen
Beim Scrollen schrumpft das Video in die rechte untere Ecke und läuft weiter. Untertitel folgen Ihrer Lesesprache.
LesespracheIn 2 Sprachen verfügbar
Diesen Artikel gibt es noch nicht auf Deutsch, daher wird das Original (Englisch) angezeigt.
ZUSAMMENFASSUNG

In 30 Sekunden

In this 2024 tutorial, Matthew Berman runs Developers Digest’s Next.js answer engine locally with Groq-hosted Mixtral, OpenAI embeddings, Brave Search and Serper. A ramen query produces an answer with sources, images and videos. His attempt to replace hosted inference with Ollama reaches the local endpoint but does not produce a working answer in the interface. The app code is open source, while the demonstrated setup uses external APIs that may have costs and send data to providers.

  1. 1Answer-engine interfaceBerman compares Perplexity with the open-source project using a ramen query.
  2. 2External servicesThe working setup combines Groq inference, OpenAI embeddings, Brave Search and Serper.
  3. 3InstallationHe clones the repository, installs dependencies, configures API credentials and starts the development server.
  4. 4Local-model attemptHe downloads a Mistral model using Ollama and tries directing the application at its local endpoint.
  5. 5Unresolved resultOllama appears to receive requests, but the interface never displays an answer during the demonstration.

Das Wichtigste

  1. The answer engine combines search results with generated answers, sources, images and videos.
  2. The working 2024 demonstration runs the app locally but uses hosted inference, embeddings and search services.
  3. Berman’s attempted Ollama integration did not produce a working answer in the video.
  4. A local application is not automatically free or private when it calls external providers.
  5. Check the project’s current documentation and provider terms before using historical setup steps.
VOLLTEXT

Den bearbeiteten Text nach Kapiteln lesen

Nur das Transkript
01

A search and answer demonstration

Berman compares Perplexity with Answer Engine and shows the latter returning a response and source media.

Perplexity answers a search query by assembling a response and citing sources, instead of presenting only a list of links. I demonstrate with a question about making ramen, which returns instructions and images. I then try a similar open-source project called Answer Engine.

Running the application on localhost, I submit the same query. It displays an answer, links to sources, images and playable videos. In this working example, the app runs locally but uses Mixtral through Groq for inference, along with other online services.

Answer Engine search results
FOLIE 1 / 1Answer Engine search resultsThe application displays a generated answer, cited sources, related videos and images for a ramen query.

The project is by Developers Digest and uses Next.js, the Vercel AI SDK, LangChain, Groq, OpenAI embeddings, Brave Search and Serper. The source code is available, but open-source application code does not make every dependency open source, local or free. The example also does not independently verify the accuracy of every generated statement or citation.

02

Installing the application

He clones the repository, installs packages, configures provider keys and starts a local development server.

I clone the repository, enter its directory and install the dependencies with `bun install`. I open it in VS Code and configure the environment file with provider credentials for inference, embeddings and search. API keys should be kept private; the video’s screens show credentials, so avoid copying or sharing them.

I start the development server with `bun run dev`, open localhost and repeat the ramen query. The app returns results in this configuration. I call it free in the video, but third-party usage limits, provider charges and local computing costs depend on the services and accounts used.

03

Trying Ollama locally

Berman attempts to replace hosted model inference with Ollama. The attempt remains unresolved in the video.

Next I try to run the language model locally with Ollama. I download a Mistral model and change the application’s model endpoint to Ollama’s local OpenAI-compatible address. The 2024 setup still uses OpenAI embeddings and online search services, so replacing inference alone would not make the entire workflow local.

When I try the local setup, Ollama appears to receive the request, but the application does not display an answer. I restart and modify the model references, then retry; the issue remains unresolved. I speculate about compatibility or the model’s response, but the video does not establish the cause or a working fix.

During troubleshooting I bind Ollama to all network interfaces. That can expose a service beyond localhost and is not necessary to assume for a local-only setup; access controls and network configuration matter. I invite others to investigate the integration. The project and its dependencies may have changed since this 2024 demonstration, so consult the current repository instructions.

Mehr aus diesem Kanal

12 Folien34:21EN
Matthew Berman· 27. Okt. 2026Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI SafetyEnterprise-KI+2
2 Folien0:36EN
Matthew Berman· 25. Okt. 2026Kimi K3.1 and a Rubik’s Cube Solver DemonstrationMatthew Berman · Forward FutureMatthew Berman shows a scrambled virtual cube being solved and gives the Kimi K3.1 test a favorable assessment.EvalsCoding-AgentenOpen-weight models
6 Folien25:50EN
Matthew Berman· 24. Okt. 2026Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
2 Folien32:20EN
Matthew Berman· 23. Okt. 2026Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
6 Folien1:03:37EN
Matthew Berman· 23. Okt. 2026Matthew Berman’s Team Tests Kimi K3.1 on Animation, Games, and ChartsMatthew Berman, Alex, Brian · Forward FutureA live team AMA turns into an informal test of Kimi K3.1, from personal-agent workflows to motion graphics, a browser game, and a benchmark chart.Coding-AgentenGenerative mediaEvals+2
0:53EN
Matthew Berman· 22. Okt. 2026Sam Altman on AI and the Discovery of New KnowledgeSam Altman · OpenAIAltman expects progress in mathematical discovery to extend to biology, materials and energy.AI for scienceMathematicsComputational Biology+1