Yurts Quasar Client
Project description
Quasar Python Client
Installation
pip install quasar-client
Usage
from quasar_client import Quasar
quasar_base = "URL for Quasar-compatible server"
quasar = Quasar(quasar_base=quasar_base)
# Use OpenAI-compatible interfaces...
chat_completion = quasar.chat.completions.create(
messages=[
{
"role": "user",
"content": "Hello quasar",
}
],
model="gpt-3.5-turbo",
)
# Use Quasar-specific interfaces like NER...
entities = quasar.tagger.tag(
task="ner",
text="Yurts Technologies is based in SF."
)
Quasar provides a convenient interface for common RAG APIs. In addition to the OpenAI APIs, the client supports:
- Entities
- Embedding
- Ranking
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
quasar_client-0.1.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for quasar_client-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d0c2604ca1b7c9f5096cf08b4c17c0747539a5b8be65dbf365d38307f36b9e |
|
MD5 | 01087def891c140bc30e837f61dd5354 |
|
BLAKE2b-256 | aae67db6dc1320704362639d0bafcc3f71f58b9117352f2c00da7968a5431793 |