Skip to main content

Cardinal

GitHub Code License PyPI

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)

Source distribution for pycardinal 0.5.1
File Size Uploaded
pycardinal-0.5.1.tar.gz 30.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycardinal 0.5.1
File Interpreter ABI Platform
pycardinal-0.5.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page