Yurts Python 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.3.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for quasar_client-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be8bea3db08ccd2fd0cc45af3c9754be35f158dd987e980a76d636386814333 |
|
MD5 | 16bf08f22a801e71a4cd6eff3c6883dd |
|
BLAKE2b-256 | b843f5ea5aaf3b9878de009a85affdd8e3fb9e0a5ea7e192e43f09fdd88e8481 |