Skip to content
المشاريع

حول

Open source AI analyst powered by E2B. Analyze your CSV files with Llama 3.1 and create interactive charts.

البيانات والتحليلات

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • 🔸 Analyze data with Meta's Llama 3.1
  • 🔸 Upload CSV files
  • 🔸 Create interactive charts
  • 🔸 ✶ E2B Sandbox

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
؜-١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

AI Analyst by E2B

This is an AI-powered code and data analysis tool built with Next.js and the E2B SDK.

Preview

→ Try on ai-analyst.e2b.dev

Features

  • 🔸 Analyze data with Meta's Llama 3.1
  • 🔸 Upload CSV files
  • 🔸 Create interactive charts

Powered by:

  • 🔸 ✶ E2B Sandbox
  • 🔸 Vercel's AI SDK
  • 🔸 Next.js
  • 🔸 echarts library for interactive charts

Supported LLM Providers:

  • 🔸 TogetherAI
  • 🔸 Fireworks

Supported chart types:

  • 🔸 All the supported charts are descriebd here.

Make sure to give us a star!

Screenshot 2024-04-20 at 22 13 32

Get started

Visit the online version or run locally on your own.

1. Clone repository

git clone https://github.com/e2b-dev/ai-analyst.git

2. Install dependencies

cd fragments && npm i

3. Get API keys

Copy .example.env to .env.local and fill in variables for E2B and one LLM provider.

E2B: E2B_API_KEY

LLM Providers:

  • Anthropic: ANTHROPIC_API_KEY
  • OpenAI: OPENAI_API_KEY
  • Fireworks: FIREWORKS_API_KEY
  • Together AI: TOGETHER_API_KEY
  • Ollama: OLLAMA_BASE_URL

Provider configuration

Provider endpoints are configured on the server in lib/model.ts. Chat requests must use a model/provider pair from lib/models.json; client-supplied endpoints and unknown request fields are rejected.

For cloud providers, omitting the API key selects the server's provider key. Supplying a non-empty key selects BYOK; an invalid or rejected caller key never falls back to the server key. Blank and non-string keys are rejected before any provider request.

Saved browser settings containing a retired custom endpoint are migrated by removing both the endpoint and its API key. Chat stays paused across reloads until the user enters a new key for the selected provider or explicitly chooses the app's default credentials.

Ollama supports the allowlisted llama3.1 model when OLLAMA_BASE_URL is set to an HTTPS endpoint, for example https://ollama.example.com/api. Install that model on your Ollama server. A local HTTP Ollama server needs a TLS reverse proxy. Ollama is hidden from the picker when its endpoint is missing or invalid. All provider requests reject redirects to keep requests on the configured HTTPS origin. Additional Ollama model IDs must be added to lib/models.json.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…