Releases: fablestudio/fable-saga
Releases · fablestudio/fable-saga
v0.9.0
What's Changed
- Sim 2939 fix model override, enable GPT-4o, calculate costs by @frankcarey in #57
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- SIM-2935: Fix a bug that was causing the OpenAI model to always be overridden. by @fablechris in #56
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- SIM-2922: Re-format the conversation prompt by @fablechris in #52
- Sim 2916 build exe by @fablechris in #54
- Update README.md by @fablechris in #53
- SIM-2920: Manually create llm_info when streaming openAI models. by @frankcarey in #55
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- Sim 2893 Make OpenAI an optional dependency. by @frankcarey in #50
- SIM-2906: Add the raw_response to the error if one exists during generation. by @frankcarey in #51
Full Changelog: v0.6.0...v0.7.0
0.6.0
What's Changed
- Sim 2874 langchain upgrade, stricter mypy, simple vectorstore, less dependencies by @frankcarey in #48
- SIM-2879: Refactor the server and get mocking working again with generics. by @frankcarey in #49
==
It depends on what parts you use, though. People using the server functionality these changes should be transparent. For those using the python api, like we are doing in thistle-gulch there are some new paradigms to consider. The main items are:
- Generally better typing module support, with stricter mypy validation.
*AsyncSKVectorStore
is removed andSimpleVectorStore
replaces it. (See class docs)
*SagaAgen
t is now just calledActionsAgen
t for clarity. - Between removing the sklearn module and upgrading to the latest langchain, we went from like 2.5GB of dependencies down to like ~50MB!
- We removed the concept of (*)Servers like SagaServer. Things are now Endpoints with something like Embeddings creating one endpoint for what were previously handler functions. Endpoints use Generics, see the various
demo/*.py
files to see how to use it. - There is a refactored routing system now. Because of the generics, we infer the request and response types from the parameters you set when defining a new Endpoint, and the routing system, like
generic_handler()
handles more of the validation and (de)serialization boilerplate for you, so generally less need to catch exceptions, unless you want to. - Imports are moved around during the refactor, but we also upgraded to the new 0.1.x branch of LangChain. It's API and objects are pretty much the same, but things like models should be imported from
langchain_community
module. - Tests are refactored and the new
EndpointMocker()
helper makes it easy to wrap the existing handler in a mock and return aTResp()
or to add in anoverride_handler
param and provide your own at test time. - A new module-level variable,
server.throw_exceptions
is now a global to decide if thegeneric_handler()
should gracefully handle errors by adding the error to the return value or to rethrow the actual exception.
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Sim 2861 Cleanup repo using black and mypy by @frankcarey in #46
Full Changelog: v0.4.0...v0.5.0
v0.4.0
See the release blog post for details https://blog.fabledev.com/blog/saga-release-v040
What's Changed
- Sim 2794 websockets by @frankcarey in #33
- SIM-2797: Let LLM==None fall through to SAGA itself instead of the Se… by @frankcarey in #34
- SIM-2799: Receive the model name in the ActionsRequest and override t… by @fablechris in #35
- Create python-app.yml by @frankcarey in #38
- Sim 2796 embedding server by @frankcarey in #37
- SIM-2796: Cleanup the spacesim demo, simplify and add tests. by @frankcarey in #40
- SIM-2800: Add a generate-conversation endpoint that takes a context a… by @fablechris in #41
- SIM-2800: Add a conversation generator to the space colony demo. by @fablechris in #42
- Sim 2800: Refactor Conversations into their own Agent by @frankcarey in #43
- SIM-2819: Allow extra keys in object converter. by @fablechris in #44
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- Sim 2781 blog link by @frankcarey in #28
- SIM-2781: Add a proper header to the README. by @frankcarey in #29
- SIM-2794: Refactor and add an http and socketio server back in. by @frankcarey in #31
- SIM-2794: Update the README with the server details. by @frankcarey in #32
Full Changelog: v0.2.0...v0.3.0
0.2.0
- Complete refactor for release
- Added
fable_saga.Agent
class to make it easier to use SAGA in your own simulations. - Simplified fable_saga itself to make it easier to use.
- Moved most of the demo code to an included open-source demo project: space_colony
- Added some documentation to get started with the demo and the basic concepts of SAGA.
- Removed the socketio code from the demo. It will be added back in soon.