Skip to content

Add AI providers, 3D viz, cache, improved scoring and prompts#6

Merged
adonisja merged 2 commits into
mainfrom
akkeem_branch
May 31, 2026
Merged

Add AI providers, 3D viz, cache, improved scoring and prompts#6
adonisja merged 2 commits into
mainfrom
akkeem_branch

Conversation

@adonisja

Copy link
Copy Markdown
Owner

Providers:

  • Add OpenAI, Gemini, Ollama, WatsonX, Brave providers
  • Remove DuckDuckGo and Mock from server build
  • Shared prompt builder injects parsed constraints into AI prompts
  • Remove fake distance_miles from AI provider responses

Scoring:

  • Rebalanced weights: 50% similarity / 35% axis / 15% consensus
  • Multi-intent axis scoring — all three axes always contribute
  • Hard constraint filtering before scoring
  • Consensus bonus capped at 2 providers
  • Sponsored penalty raised to 0.20

UI:

  • 3D scoring space (Plotly, served locally)
  • Radar chart for top 3 comparison
  • Score bars on every result card
  • Provider breakdown panel
  • Query history dropdown

Infrastructure:

  • 3-hour in-memory query cache with /history and /cache/clear endpoints
  • start.sh auto-loads .env
  • Server raises on startup if no providers configured
  • README fully rewritten to reflect current state

Providers:
- Add OpenAI, Gemini, Ollama, WatsonX, Brave providers
- Remove DuckDuckGo and Mock from server build
- Shared prompt builder injects parsed constraints into AI prompts
- Remove fake distance_miles from AI provider responses

Scoring:
- Rebalanced weights: 50% similarity / 35% axis / 15% consensus
- Multi-intent axis scoring — all three axes always contribute
- Hard constraint filtering before scoring
- Consensus bonus capped at 2 providers
- Sponsored penalty raised to 0.20

UI:
- 3D scoring space (Plotly, served locally)
- Radar chart for top 3 comparison
- Score bars on every result card
- Provider breakdown panel
- Query history dropdown

Infrastructure:
- 3-hour in-memory query cache with /history and /cache/clear endpoints
- start.sh auto-loads .env
- Server raises on startup if no providers configured
- README fully rewritten to reflect current state
Copilot AI review requested due to automatic review settings May 31, 2026 03:00
Providers:
- Add OpenAI, Gemini, Ollama, WatsonX, Brave providers
- Remove DuckDuckGo and Mock from server build
- Shared prompt builder injects parsed constraints into AI prompts
- Remove fake distance_miles from AI provider responses

Scoring:
- Rebalanced weights: 50% similarity / 35% axis / 15% consensus
- Multi-intent axis scoring — all three axes always contribute
- Hard constraint filtering before scoring
- Consensus bonus capped at 2 providers
- Sponsored penalty raised to 0.20

UI:
- 3D scoring space (Plotly, served locally)
- Radar chart for top 3 comparison
- Score bars on every result card
- Provider breakdown panel
- Query history dropdown

Infrastructure:
- 3-hour in-memory query cache with /history and /cache/clear endpoints
- start.sh auto-loads .env
- Server raises on startup if no providers configured
- README fully rewritten to reflect current state
@adonisja adonisja merged commit 785352f into main May 31, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants