qnm on Nostr: Yeah, functions are super interesting. I was playing with langchain.js and provided a ...
Yeah, functions are super interesting. I was playing with langchain.js and provided a function to communicate with a graphql server. Given a schema and an objective (“list all Tarantino directed movies in reverse chronological order”) it generated - and then executed - a valid query. I was impressed…
Published at
2024-01-10 12:56:31Event JSON
{
"id": "9f0d006d6bb07bd8d68f0770c5352c2ab7801039b02a50eb0d245c4379f59748",
"pubkey": "cdb0061231762794373eb0aaac42e8ae6a36bc83209de8fb1f044fe728badccf",
"created_at": 1704891391,
"kind": 1,
"tags": [
[
"e",
"6ee79699ff2347fd978d89decc9aa6984dc2aee8e5a22c95ed236e32d2dd8130"
],
[
"p",
"da18e9860040f3bf493876fc16b1a912ae5a6f6fa8d5159c3de2b8233a0d9851"
]
],
"content": "Yeah, functions are super interesting. I was playing with langchain.js and provided a function to communicate with a graphql server. Given a schema and an objective (“list all Tarantino directed movies in reverse chronological order”) it generated - and then executed - a valid query. I was impressed…",
"sig": "1abfcd9a04f2ca09b7ef3efc7cad19700457a7d8a2bbf9c4214384d251d2ae2508dc43342ede1c96b58dbca7358f8705ae63e17db3260a308499a4554b75c30b"
}