Implement Stage 19 language generation - #20
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
manas-languageruntime crate for local fluent generation on top of associative-memory query results.manas generate <prompt>andmanas generate --max-words Nfor explicit sentence generation.manas ask --fluent <question>while keeping defaultmanas askcompact and backward-compatible.Cargo.lockfor Stage 19 completion.Implementation details
manas-languagekeeps fluent generation separate from the core associative-memory engine.manas-learnanswers from neural weights, then realizes decoded concepts into a sentence.askstays compact while generation can use richer concepts.manas generateuses expanded query behavior for fluent output from learned neural concepts.manas ask --fluentprovides optional sentence output without changing the default retrieval path.--max-words Nlimits generated sentence length for CLI-controlled output..manasformat change is required; generation is deterministic, local, and built on existing persisted neural memory.neural weightsas the answer source.Verification
cargo fmt --all -- --checkcargo test --workspacecargo test -p manas-languagecargo test -p manas-cli stage19cargo clippy --workspace --all-targets -- -D warningscargo build --workspace --releasecargo bench -p manas-benches -- --quickcargo bench -p manas-benches -- --write-markdown BENCHMARKS.mdbash demo.shgit diff --check