Re:Show HN: Neum AI – Open-source large-scale RAG framework
by hrpnk on Tuesday November 21, 2023 @05:11PM
(#38371101)
Interesting to see that the semantic chunking in the tools library is a wrapper around GPT-4. Asks GPT for the python code and executes it: https://github.com/NeumTry/NeumAI/blob/main/neumai-tools/neu...
[ Parent
| on HN ]
Re:Show HN: Neum AI – Open-source large-scale RAG framework
by ddematheu on Tuesday November 21, 2023 @06:16PM
(#38371961)
Yeah, we were playing around with doing some semantic chunking. Works okay for some use cases. We have some ideas to go further on that.
Generally we have found that recursive chunking and character chunking tend to be short sighted.
Re:Show HN: Neum AI – Open-source large-scale RAG framework
by hrpnk on Tuesday November 21, 2023 @06:31PM
(#38372156)
Don't you find it dangerous to just run the code w/o any sanitizing?
Why not capture a few strategies that the LLM returns as code that can be properly audited (and ran locally improving the overall performance)?
Re:Show HN: Neum AI – Open-source large-scale RAG framework
by ddematheu on Tuesday November 21, 2023 @06:50PM
(#38372370)
It is dangerous, part of the reason that we haven't productized that further. One of the ideas we had to productize the capabilities further was to leverage edge / lambda functions to compartmentalize the code generated. (Plus it becomes a general extensibility for folks that are not using semantic code generation and simply want to write their own code.)
The idea of auditing the strategy is interesting. The flow that we have used for the semantic chunkers up to date has been along these lines where we : 1) Use the utility to generate the code snippets (and do some manual inspection) 2) Test the code snippets against some sample text 3) Validate the results
Re:Show HN: Neum AI – Open-source large-scale RAG framework
by treprinum on Tuesday November 21, 2023 @07:09PM
(#38372557)
Why not use Stanford Stanza?