Cardinal
Usage
Create a .env file in the api_demo directory:
api_demo
├── utils
└── .env
# imitater or openai
OPENAI_BASE_URL=http://localhost:8000/v1
OPENAI_API_KEY=0
# models
DEFAULT_EMBED_MODEL=text-embedding-ada-002
DEFAULT_CHAT_MODEL=gpt-3.5-turbo
DEFAULT_RERANKER=bge-reranker-v2-m3 # empty if not needed
HF_TOKENIZER_PATH=01-ai/Yi-6B-Chat
# text splitter
DEFAULT_CHUNK_SIZE=300
DEFAULT_CHUNK_OVERLAP=100
# storages
STORAGE=redis
SEARCH_TARGET=content
REDIS_URI=redis://localhost:6379
ELASTICSEARCH_URI=http://localhost:9001
# graph storage
GRAPH_STORAGE=neo4j
NEO4J_URI=bolt://localhost:7687
# vectorstore
VECTORSTORE=chroma
CHROMA_PATH=./chroma
MILVUS_URI=http://localhost:19530
MILVUS_TOKEN=0
Run python launch.py --config config.yaml --action build
Metadata
Release files for pycardinal 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycardinal-0.5.1.tar.gz | 30.5 kB | Without provenance | Details for pycardinal-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycardinal-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for pycardinal-0.5.1-py3-none-any.whl |
Total release size: 73.6 kB
Release files / pycardinal-0.5.1.tar.gz
| Download URL | pycardinal-0.5.1.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00240069319e3576aeb477c617def90cb1734f6b0ad1530f47262baa85e02c2f
|
|
BLAKE2b-256 checksum How to use checksums |
cc335de71aa5bee194b5aea73e21302b26742ef933e08bf9fadfe9c92e2adc56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / pycardinal-0.5.1-py3-none-any.whl
| Download URL | pycardinal-0.5.1-py3-none-any.whl |
|---|---|
| Size | 43.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89d2d68af70aa4905eabd50ab8f73cec83fecad7816587ae7a7575039c6b4351
|
|
BLAKE2b-256 checksum How to use checksums |
41fea8f619b102325c067d51db13ca2c8ee424cb00f403b524a46f8a2d2aeb76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for pycardinal 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.