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.2.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for quasar_client-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b57df5b6bb58451e80f5947c959471bb4719a5516e2e07876ab6407752c4554e |
|
MD5 | 0f9c2e56db4480ae62dda9f5f4ecef59 |
|
BLAKE2b-256 | 715e756e6a41e5c308af7c318679b6a43a1c0f17c4f4b8ca08a58d62ae1a5a37 |