No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycardinal-0.5.1.tar.gz
(30.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycardinal-0.5.1.tar.gz.
File metadata
- Download URL: pycardinal-0.5.1.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00240069319e3576aeb477c617def90cb1734f6b0ad1530f47262baa85e02c2f
|
|
| MD5 |
f9ff6a0c5f56e7e7f0d4a02d1a303af2
|
|
| BLAKE2b-256 |
cc335de71aa5bee194b5aea73e21302b26742ef933e08bf9fadfe9c92e2adc56
|
File details
Details for the file pycardinal-0.5.1-py3-none-any.whl.
File metadata
- Download URL: pycardinal-0.5.1-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d2d68af70aa4905eabd50ab8f73cec83fecad7816587ae7a7575039c6b4351
|
|
| MD5 |
158740dd1f8b3dd00808ffceb088f38a
|
|
| BLAKE2b-256 |
41fea8f619b102325c067d51db13ca2c8ee424cb00f403b524a46f8a2d2aeb76
|