An open API service indexing awesome lists of open source software.

https://github.com/jenswalter/openai-folder-sync

CLI tool for synchronizing a local directory with the OpenAI Vector Store.
https://github.com/jenswalter/openai-folder-sync

cli openai

Last synced: 3 months ago
JSON representation

CLI tool for synchronizing a local directory with the OpenAI Vector Store.

Awesome Lists containing this project

README

          

# OPENAI-FOLDER-SYNC

CLI tool for synchronizing a local directory with the OpenAI Vector Store.

# Install

We currently only support install through cargo

```
cargo install --git https://github.com/JensWalter/openai-folder-sync.git
```

# Usage

**Installed Binary**

```
openai-folder-sync --vector-store 'vs_ABCDEFGHIJK' --local-dir '/Users/jens/tmp/wiki/content' --extensions md
```

**Via Cargo**
```
cargo run -- --vector-store 'vs_ABCDEFGHIJK' --local-dir '/Users/jens/tmp/wiki/content' --extensions md
```

# Help

```
CLI tool for syncing files with the OpenAI vector store.

Usage: openai-folder-sync [OPTIONS] --openai-api-key --vector-store --local-dir

Options:
-o, --openai-api-key
[env: OPENAI_API_KEY=]
-v, --vector-store
[env: VECTOR_STORE=]
-l, --local-dir
[env: LOCAL_DIR=]
-e, --extensions
comma separated list of file extensions to sync [env: EXTENSIONS=]
-g, --git-info
embed git info from git cli into the file content [env: GIT_INFO=] [possible values: true, false]
-h, --help
Print help
-V, --version
Print version
```