tanchongmin / strictjson

A Strict JSON Framework for LLM Outputs
MIT License
202 stars 25 forks source link

may you help to update LLM with Knowledge Graphs.ipynb #3

Closed Sandy4321 closed 2 hours ago

Sandy4321 commented 4 months ago

I see recent updates

but https://github.com/tanchongmin/TensorFlow-Implementations/blob/main/Tutorial/LLM%20with%20Knowledge%20Graphs.ipynb works wrongly https://github.com/tanchongmin/TensorFlow-Implementations/issues/1

may you help to update LLM with Knowledge Graphs.ipynb

tanchongmin commented 4 months ago

work in progress, will update here when completed

Sandy4321 commented 3 months ago

great thanks hopefully will be done asap

tanchongmin commented 3 months ago

You're in luck! I had some free time today and updated the OpenAI API. The StrictJSON portion was actually working as it was using the old strict_output defined in the notebook.

I have updated it to use the current StrictJSON v4.0.0!

Check it out here: https://github.com/tanchongmin/strictjson/blob/main/Experiments/LLM%20with%20Knowledge%20Graphs.ipynb