Cycls SDK
Project description
pip install cycls
from cycls import Cycls, Text
cycls = Cycls()
# sync app on https://cycls.com/@spark
@cycls("spark")
def spark_app(x):
print("history", x.history)
print("session id", x.id)
return Text(x.content+" from spark")
# async app on https://cycls.com/@cake
@cycls("cake")
async def cake_app(x):
print("history", x.history)
print("session id", x.id)
return Text(x.content+" from cake")
# publish to https://cycls.com
cycls.push()
Text
renders markdownText
is both streaming/bulk based on input
Try it live https://cycls.com/@groq
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
cycls-0.0.2.14.tar.gz
(4.4 kB
view hashes)