Openai-to-sqlite

Latest version: v0.4.2

Safety actively analyzes 622475 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.2

- Disable timeout on HTTPX requests to allow for slow responses. [17](https://github.com/simonw/openai-to-sqlite/issues/17)

0.4.1

- Documentation updates.

0.4

- Text that is too long to be sent to the embedding model is now truncated to the correct length. [6](https://github.com/simonw/openai-to-sqlite/issues/6)
- `openai-to-sqlite similar` command, [documented here](https://github.com/simonw/openai-to-sqlite/blob/0.4/README.md#search-for-similar-content-with-the-similar-command). Thanks, [Benoit Delbosc](https://github.com/bdelbosc). [#14](https://github.com/simonw/openai-to-sqlite/issues/14)
- New `--count` option for `openai-to-sqlite search` command. [13](https://github.com/simonw/openai-to-sqlite/issues/13)
- Dropped support for Python 3.7 due to new dependency on `tiktoken`.

0.3

- New `openai-to-sqlite query data.db SQL` command for executing SQL queries against a database with access to custom OpenAI SQL functions. [11](https://github.com/simonw/openai-to-sqlite/issues/11)
- New `chatgpt(prompt)` and `chatgpt(prompt, system_prompt)` SQL functions for use with `openai-to-sqlite query`.

0.2

- `openai-to-sqlite embeddings` command can read JSON, CSV or TSV from a file or from standard input and fetch and store embeddings for that data. [1](https://github.com/simonw/openai-to-sqlite/issues/1)
- `openai-to-sqlite embeddings --sql` command can read the data to be embedded from a SQL query. [2](https://github.com/simonw/openai-to-sqlite/issues/2)
- Data is now sent to the OpenAI API in batches, defaulting to 100 and with a size that can be specified using `--batch-size` up to 2048. [5](https://github.com/simonw/openai-to-sqlite/issues/5)

0.1a0

- Initial prototype release.
- `embeddings` and `search` commands. [1](https://github.com/simonw/openai-to-sqlite/issuse/1)

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.