Skip to main content

No project description provided

Project description

Cardinal

GitHub Code License PyPI

Usage

Create a .env file in the root directory:

.
├── src
└── .env
# imitater or openai
OPENAI_BASE_URL=http://localhost:8010/v1
OPENAI_API_KEY=0

# models
EMBED_MODEL=text-embedding-ada-002
CHAT_MODEL=gpt-3.5-turbo
TOKENIZER_PATH=01-ai/Yi-6B-Chat

# text splitter
CHUNK_SIZE=200
CHUNK_OVERLAP=30

# storages
STORAGE=redis
SEARCH_TARGET=content
REDIS_URI=redis://localhost:6379
ELASTICSEARCH_URI=http://localhost:9001

# vectorstore
VECTORSTORE=chroma
CHROMA_PATH=./chroma
MILVUS_URI=http://localhost:19530
MILVUS_TOKEN=0

Project details


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.2.1.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

pycardinal-0.2.1-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file pycardinal-0.2.1.tar.gz.

File metadata

  • Download URL: pycardinal-0.2.1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pycardinal-0.2.1.tar.gz
Algorithm Hash digest
SHA256 de773c7469accab0cf200d4d0657325833fa87f3629d434f6412230892f37752
MD5 1607d67bd93273eb199d5cc97512dfd0
BLAKE2b-256 3793c42ff0d6c32ccc3bdc2ad900609e63747d636aecea68c6fcb9777e04a0e9

See more details on using hashes here.

File details

Details for the file pycardinal-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pycardinal-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pycardinal-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6860f77e0af1781156f010025783335dcce88c3cd063752f0ac3cdaf635b1363
MD5 5a47ba5c7410c620141c4f57b285832a
BLAKE2b-256 fa86552fe4148128bdf8db63e70e5178d0cc41b1e10b348df43fc69c89b3f220

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page