UNPKG
@osohq/langchain
Version:
latest (0.1.3)
rc (0.1.2-rc.4)
0.1.3
0.1.2-rc.4
0.1.2-rc.3
0.1.2-rc.2
0.1.2-rc.1
0.1.2-rc
0.1.1
0.1.0
0.0.0
Oso integration for LangChain agents
www.osohq.com
osohq/langchain-oso-ts
@osohq/langchain
/
dist
/
helpers.js
12 lines
•
299 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
parseSerializedObject
= parseSerializedObject;
function
parseSerializedObject
(
str
) {
try
{
return
JSON
.
parse
(str); }
catch
(_a) {
return
null
; } }
//# sourceMappingURL=helpers.js.map