Top 4 Python actor-model Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
jockey
🏇 Generic Python library for running asynchronous workers. Useful for building event handlers, web frameworks, and alike. (by orsinium-labs)
Project mention: OpenAI: Streaming is now available in the Assistants API | news.ycombinator.com | 2024-03-14This was indeed true in the beginning, and I don’t know if this has changed. Inserting messages with Assistant role is crucial for many reasons, such as if you want to implement caching, or otherwise edit/compress a previous assistant response for cost or other reason.
At the time I implemented a work-around in Langroid[1]: since you can only insert a “user” role message, prepend the content with ASSISTANT: whenever you want it to be treated as an assistant role. This actually works as expected and I was able to do caching. I explained it in this forum:
https://community.openai.com/t/add-custom-roles-to-messages-...
[1] the Langroid code that adds a message with a given role, using this above “assistant spoofing trick”:
https://github.com/langroid/langroid/blob/main/langroid/agen...
Project mention: Ask HN: What Python libraries do you wish more people knew about? | news.ycombinator.com | 2023-12-03
Project mention: Show HN: Jockey – Generic Python library for running asynchronous workers | news.ycombinator.com | 2023-11-03
Python actor-model related posts
Index
What are some of the best open-source actor-model projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | langroid | 1,594 |
2 | tractor | 250 |
3 | Thespian Actor Library | 185 |
4 | jockey | 5 |
Sponsored