refiner-cli
CLI for the Refiner python package convert and store text and metadata as vector embeddings. Embeddings are generated using OpenAI and stored as vectors in Pinecone. Stored embeddings can then be "queried" using the search command. Matched embeddings contain contextually relavant metadata that can be used for AI chatbots, semnatic search APIs, and can also be used for training and tuning large language models.
Installation
pip install refiner-cli
OpenAI and Pinecone API Keys.
You'll need API keys for OpenAI and Pinecone.
Once you have your API keys, you can either set local ENV variables in a shell:
export PINECONE_API_KEY="API_KEY"
export PINECONE_ENVIRONMENT_NAME="ENV_NAME"
export OPENAI_API_KEY="API_KEY"
or you can create a .env (dotenv) config file and pass it in with the --config-file option.
Your .env file should follow key/value format:
PINECONE_API_KEY="API_KEY"
PINECONE_ENVIRONMENT_NAME="ENV_NAME"
OPENAI_API_KEY="API_KEY"
Help
The --help option can be used to learn about the create and search commands.
refiner --help
refiner create --help
refiner search --help
Release files for refiner-cli 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| refiner-cli-0.0.2.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| refiner_cli-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / refiner-cli-0.0.2.tar.gz
| Download URL | refiner-cli-0.0.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1be2ca66e128cd9f1b2baa52dc7f76b7c158b5dc3fd98094ff0f6e925584fd98
|
|
BLAKE2b-256 checksum How to use checksums |
9fd31ae234c5ce58331f8681ddf4f4cc3ca8b765aaddc2254a03b30177d29b92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / refiner_cli-0.0.2-py3-none-any.whl
| Download URL | refiner_cli-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e8b453f004a16cf7f8e331f5fea96af584ce2ffbf1bee7432fa0251f0604fb7
|
|
BLAKE2b-256 checksum How to use checksums |
ebd418843ba2e1494ece042f4d3bd16618b63f60d22d557cb9e6318117ff43ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|