Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions available_languages/README.de-DE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# datasette-cognee

## Einführung

Dies ist ein Plugin für Datasette, das mit cognee integriert wird, um Wissensgraphen für Datasette-Datenbanken bereitzustellen.

cognee ermöglicht es, strukturierte Daten aus SQLite-Datenbanken in ein Wissensdiagramm zu integrieren und semantische Abfragen gegen dieses Diagramm durchzuführen.

## Projekt, um Projektteilnehmer zu entdecken

Dieses Projekt nutzt https://github.com/dogsheep/github-to-sqlite um GitHub Daten in die SQLite-Datenbank zu holen, die in den Cogne migriert wird.

Als Standarddatenbank wird https://github.com/dogsheep/github-to-sqlite?tab=readme-ov-file#fetching-contributors-to-a-repository verwendet, um Mitwirkende von cogney zu holen.

```
github-to-sqlite contributors github.db topoteretes/cognee
```

Führen Sie folgendes für einen Schnelltest durch:

#### 1- Klone diesen Repo

#### 2- Setze deine .env Variablen mit der .env.template

```
# Falls Sie OpenAI als Provider verwenden möchten, fügen Sie nur das Modell und api_key hinzu.
LLM_API_KEY=""
LLM_MODEL="openai/gpt-4o-mini"
# Nicht benötigt, wenn Sie OpenAI
LLM_PROVIDER="openai"
LLM_ENDPOINT=""
LLM_API_VERSION=""

# Falls Sie OpenAI als Provider verwenden möchten, fügen Sie nur das Modell und api_key hinzu.
EMBEDDING_API_KEY=""
EMBEDDING_MODEL="openai/text-embedding-3-large"
# Nicht benötigt, wenn Sie OpenAI
EMBEDDING_PROVIDER="openai"
EMBEDDING_ENDPOINT=""
EMBEDDING_API_VERSION=""

# Notwendig für dieses Projekt
GITHUB_TOKEN=""

MIGRATION_DB_PROVIDER=sqlite
MIGRATION_DB_NAME=github. b
MIGRATION_DB_PATH=/path_to_your_datasette_cognee/datasette-cognee # ersetzen Sie mit dem Pfad zu Ihrem geklonten datasette-cognee

```

#### 3- Führe folgendes aus

1. python -m venv venv && source venv/bin/activate && pip install -e .
2. datasette cognee relational-migrate github.db
3. datasette cognee Abfrage "Welche Informationen sind in der Datenbank?"
4. datasette serve github.db # (siehe was in der db)

\--

- Visualisieren Sie das Diagramm in Ihrem Home-Verzeichnis.
- Du kannst github löschen. b in diesem Repo und verwenden Sie das github-to-sqlite Plugin von datasette, um frisch mit dem Repository Ihrer Wahl zu beginnen, oder Sie können ein neues Repo zu cognee hinzufügen, indem Sie einfach `github-to-sqlite contributors github. b Besitzer/Repo`.


63 changes: 63 additions & 0 deletions available_languages/README.tr-TR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# datasette-cognee

## Introduction

This is a plugin for Datasette that integrates with cognee to provide knowledge graph capabilities for Datasette databases.

cognee allows you to ingest structured data from SQLite databases into a knowledge graph and perform semantic queries against that graph.

## Project to discover repository contributors

This project utilizes https://github.com/dogsheep/github-to-sqlite for fetching GitHub data to SQLite database to be migrated into cognee.

As the default database, https://github.com/dogsheep/github-to-sqlite?tab=readme-ov-file#fetching-contributors-to-a-repository is used to fetch contributors of cognee.

```
github-to-sqlite contributors github.db topoteretes/cognee
```

Do the following for a quick test:

#### 1- Clone this repo

#### 2- Set your .env variables using the .env.template

```
# In case you choose to use OpenAI as a provider, add just the model and api_key.
LLM_API_KEY=""
LLM_MODEL="openai/gpt-4o-mini"
# Not needed if you use OpenAI
LLM_PROVIDER="openai"
LLM_ENDPOINT=""
LLM_API_VERSION=""

# In case you choose to use OpenAI as a provider, add just the model and api_key.
EMBEDDING_API_KEY=""
EMBEDDING_MODEL="openai/text-embedding-3-large"
# Not needed if you use OpenAI
EMBEDDING_PROVIDER="openai"
EMBEDDING_ENDPOINT=""
EMBEDDING_API_VERSION=""

# Necessary for this project
GITHUB_TOKEN=""

MIGRATION_DB_PROVIDER=sqlite
MIGRATION_DB_NAME=github.db
MIGRATION_DB_PATH=/path_to_your_datasette_cognee/datasette-cognee # replace with the path to your cloned datasette-cognee

```

#### 3- Run the following

1. python -m venv venv && source venv/bin/activate && pip install -e .
2. datasette cognee relational-migrate github.db
3. datasette cognee query "What information is in the database?"
4. datasette serve github.db # (see whats in the db)

\--

- Visualize the graph in your home directory.
- You can delete github.db in this repo and use the github-to-sqlite plugin from datasette to start fresh with the repository of your choice or you can add a new repo to cognee by simply running `github-to-sqlite contributors github.db owner/repo`.