View Source Changelog
v0.1.6 (2023-12-12)
- Fix for correct usage of new Req retry setting. PR #57
v0.1.5 (2023-12-11)
- Upgraded Req to v0.4.8. It contains a needed retry fix for certain situations.
- Fix OpenAI returns "Unrecognized request argument supplied: api_key" PR #54
v0.1.4 (2023-12-11)
- Merged PR #45 - https://github.com/brainlid/langchain/pull/45
- Added
LangChain.Utils.ChainResult
for helper functions when working with LLMChain result values.
- Added
- Merged PR #46 - https://github.com/brainlid/langchain/pull/46
- Add possibility to use api_key per chat invocation.
- Merged PR #51 - https://github.com/brainlid/langchain/pull/51
- Update req 0.4.7
- Hopefully resolves issue where Finch connections would be closed and a now does a built-in retry.
- Merged PR #52 - https://github.com/brainlid/langchain/pull/52
- Allow overriding OpenAI compatible API endpoint. Caller can pass an alternate
endpoint
.
- Allow overriding OpenAI compatible API endpoint. Caller can pass an alternate
v0.1.3 (2023-12-01)
- Merged PR #43 - https://github.com/brainlid/langchain/pull/43
- Add Finch retry strategy to OpenAI Chat API requests
- Merged PR #39 - https://github.com/brainlid/langchain/pull/39
- Changed ENV key from
OPENAI_KEY
toOPENAI_API_KEY
to be consistent with the OpenAI docs.
- Changed ENV key from
- Merged PR #36 - https://github.com/brainlid/langchain/pull/36
- Support specifying the
seed
with OpenAI calls. Used in testing for more deterministic behavior.
- Support specifying the
- Merged PR #34 - https://github.com/brainlid/langchain/pull/34
- Enable sending the
json_response
flag with OpenAI model requests.
- Enable sending the
- Created
LangChain.FunctionParam
to express JSONSchema-friendly data structures. Supports basic types, arrays, enums, objects, arrays of objects and nested objects.- Still allows for full control over JSONSchema by providing an override
parameters_schema
object to full self-describe it.
- Still allows for full control over JSONSchema by providing an override
v0.1.2 (2023-10-26)
- refactor(chat_open_ai): Harden
do_process_response
by @Cardosaum in https://github.com/brainlid/langchain/pull/21- Improve JSON error handling result from ChatGPT
- Update req to 0.4.4 by @medoror in https://github.com/brainlid/langchain/pull/25
- Updated to Req 0.4.4
v0.1.1 (2023-10-10)
Minor update release.
- added "update_custom_context" to LLMChain
- added support for setting the OpenAI-Organization header in requests
- fixed data extraction chain and improved the prompt
- make chatgpt response tests more robust
v0.1.0 (2023-09-18)
Initial release when published to hex.pm.