MyGit

Dataherald/dataherald

Fork: 236 Star: 3348 (更新于 2024-11-03 11:50:19)

license: Apache-2.0

Language: Python .

Interact with your SQL database, Natural Language to SQL using LLMs

最后发布版本: 1.0.3 ( 2024-04-30 23:22:47)

官方网址 GitHub网址

Dataherald monorepo

Dataherald logo

Query your relational data in natural language.

Discord | License | Docs | Homepage

Dataherald is a natural language-to-SQL engine built for enterprise-level question answering over relational data. It allows you to set up an API from your database that can answer questions in plain English. You can use Dataherald to:

  • Allow business users to get insights from the data warehouse without going through a data analyst
  • Enable Q+A from your production DBs inside your SaaS application
  • Create a ChatGPT plug-in from your proprietary data

This repository contains four components under /services which can be used together to set up an end-to-end Dataherald deployment:

  1. Engine: The core natural language-to-SQL engine. If you would like to use the dataherald API without users or authentication, running the engine will suffice.
  2. Enterprise: The application API layer which adds authentication, organizations and users, and other business logic to Dataherald.
  3. Admin-console: The front-end component of Dataherald which allows a GUI for configuration and observability. You will need to run both engine and enterprise for the admin-console to work.
  4. Slackbot: A slackbot which allows users from a slack channel to interact with dataherald. Requires both engine and enterprise to run.

For more information on each component, please take a look at their README.md files.

Running locally

Each component in the /services directory has its own docker-compose.yml file. To set up the environment, follow these steps:

  1. Set Environment Variables: Each service requires specific environment variables. Refer to the .env.example file in each service directory and create a .env file with the necessary values.

    For the Next.js front-end app is .env.local

  2. Run Services: You can run all the services using a single script located in the root directory. This script creates a common Docker network and runs each service in detached mode.

Run the script to start all services:

sh docker-run.sh

Contributing

As an open-source project in a rapidly developing field, we are open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see here.

最近版本更新:(数据更新于 2024-08-31 13:59:50)

2024-04-30 23:22:47 1.0.3

2024-04-04 04:17:33 1.0.2

2024-03-05 03:53:59 1.0.1

2024-01-17 00:52:46 1.0.0

2023-11-14 01:59:20 0.0.6

2023-10-26 06:57:27 0.0.5

2023-10-07 04:46:17 0.0.4

2023-09-26 07:20:32 0.0.3

2023-09-14 23:54:20 0.0.2

主题(topics):

ai, database, finetuning, llm, nl-to-sql, rag, sql, text-to-sql

Dataherald/dataherald同语言 Python最近更新仓库

2024-11-23 07:15:18 comfyanonymous/ComfyUI

2024-11-23 02:05:08 hect0x7/JMComic-Crawler-Python

2024-11-22 19:26:55 ultralytics/ultralytics

2024-11-22 19:09:02 xtekky/gpt4free

2024-11-22 18:58:34 home-assistant/core

2024-11-22 08:12:43 jxxghp/MoviePilot