-
Notifications
You must be signed in to change notification settings - Fork 2
Enhance LLM integration and improve documentation and functionality #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
roshansamantaray
wants to merge
44
commits into
CROSSINGTUD:main
Choose a base branch
from
roshansamantaray:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
339e0cd
Integrated LLM Explanation and LLM Code Examples with CogniCrypt_Doc
3be91a4
RAG Pipeline implementation and proper rendering of LLM Explanation
641637b
Implemented dependencies context and pdf context using RAG
roshansamantaray a869230
Implemented dependencies context and pdf context using RAG
roshansamantaray c762600
Integrated RAG pipeline into llm_writer.py
roshansamantaray 0836987
Fix encoding issues, rebrand CogniCryptDoc to CrySLDoc, regenerate LL…
roshansamantaray d667bf6
Implemented Ollama API support for doc generation
roshansamantaray e6dfd25
Implemented Ollama generated explanation pipeline.
roshansamantaray c30a3dd
Bug fixes
roshansamantaray f69eaa8
Removed redundant legacy code and made secure code generation more ro…
roshansamantaray 6a559ca
Merge remote-tracking branch 'origin/feature/rag‐template‐processor' …
roshansamantaray 0ae919c
Merge pull request #1 from roshansamantaray/feature/rag‐template‐proc…
roshansamantaray 2adbf7c
Fixed Issue #16 and #15
roshansamantaray c1fe393
Fix JavaDoc link template to avoid HTML in href issue #14
roshansamantaray 05083e3
Generated GPT Output
roshansamantaray 3942470
LLM Code Writer improvements
roshansamantaray 2d11f9f
PR#12 merge
roshansamantaray 10a596e
Code fix for Sven's merge
roshansamantaray 8fad954
Add documentation and improve code clarity across multiple files
roshansamantaray 00b04d8
Removed Task_2.md
roshansamantaray b4250ef
Enhance CryptoDoc generation with new FTL template path and add expan…
roshansamantaray 97f9209
Add shared utilities and improve PDF indexing for CrySL rules
roshansamantaray 5a686c4
Improve tree view layout and functionality with updated toggle icons …
roshansamantaray fdff130
Enhance markdown rendering for LLM explanations and update disclaimer…
roshansamantaray 138ce3e
Merge pull request #3 from roshansamantaray/feature/predicate-tree-im…
roshansamantaray 3152e9f
Add llm/.venv/ to .gitignore to exclude virtual environment files
roshansamantaray 4c9a461
Increase maximum repair attempts for Java compilation from 3 to 7
roshansamantaray 0eb5bc3
Update README and requirements for LLM integration; adjust Python vir…
roshansamantaray ba0e57d
Remove outdated README and LLM requirements files
roshansamantaray e5d83e9
Add example environment configuration file for LLM integration
roshansamantaray 5075aae
Add instructions for first-time run to enable LLM features in README
roshansamantaray 477bfb2
Add instructions for first-time run to enable LLM features in README
roshansamantaray c8d0c6b
Add CrySLDoc Generation run configuration for document generation
roshansamantaray df7346d
Update Java version to 21, enhance LLM code generation, and add scrip…
roshansamantaray 1e1ad87
Refactor LLM backend integration: replace Ollama with Gateway, update…
roshansamantaray 963a175
Update README for first-time run instructions: clarify preprocessing …
roshansamantaray 0ce07e8
Update Java version to 21 in project configuration and remove outdate…
roshansamantaray 25ddb78
Enhance LLM backend integration: add support for specifying backend i…
roshansamantaray 7fb705f
Refactor cache directory handling: implement CachePathResolver for LL…
roshansamantaray e824efe
Enhance LLM integration: update README for clarity, add default chat …
roshansamantaray 2b773a7
Merge pull request #5 from roshansamantaray/feat/gateway-backend
roshansamantaray e858d5e
Remove outdated PDF document related to AI-Gateway API access request
roshansamantaray b8ffef1
Enhance environment variable management: add llm_env.py for loading e…
roshansamantaray dcef575
Add command line execution instructions for CrySLDoc in README
roshansamantaray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="CrySLDoc Generation" type="Application" factoryName="Application"> | ||
| <option name="MAIN_CLASS_NAME" value="de.upb.docgen.DocumentGeneratorMain" /> | ||
| <module name="DocGen" /> | ||
| <option name="PROGRAM_PARAMETERS" value="--FTLtemplatesPath src/main/resources/FTLTemplates --reportPath Output --llm=on --llm-backend=openai" /> | ||
| <option name="VM_PARAMETERS" value="-Dfile.encoding=UTF-8" /> | ||
| <extension name="net.ashald.envfile"> | ||
| <option name="IS_ENABLED" value="false" /> | ||
| <option name="IS_SUBST" value="false" /> | ||
| <option name="IS_PATH_MACRO_SUPPORTED" value="false" /> | ||
| <option name="IS_IGNORE_MISSING_FILES" value="false" /> | ||
| <option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" /> | ||
| <ENTRIES> | ||
| <ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false" /> | ||
| </ENTRIES> | ||
| </extension> | ||
| <method v="2"> | ||
| <option name="Make" enabled="true" /> | ||
| </method> | ||
| </configuration> | ||
| </component> | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,20 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
| org.eclipse.jdt.core.compiler.compliance=1.8 | ||
| org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore | ||
| org.eclipse.jdt.core.compiler.annotation.nonnull=javax.annotation.Nonnull | ||
| org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=javax.annotation.ParametersAreNonnullByDefault | ||
| org.eclipse.jdt.core.compiler.annotation.nullable=javax.annotation.Nullable | ||
| org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled | ||
| org.eclipse.jdt.core.compiler.codegen.targetPlatform=21 | ||
|
roshansamantaray marked this conversation as resolved.
|
||
| org.eclipse.jdt.core.compiler.compliance=21 | ||
| org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled | ||
| org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
| org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning | ||
| org.eclipse.jdt.core.compiler.problem.nullReference=warning | ||
| org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning | ||
| org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=ignore | ||
| org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning | ||
| org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore | ||
| org.eclipse.jdt.core.compiler.release=disabled | ||
| org.eclipse.jdt.core.compiler.source=1.8 | ||
| org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=enabled | ||
| org.eclipse.jdt.core.compiler.processAnnotations=enabled | ||
| org.eclipse.jdt.core.compiler.release=enabled | ||
| org.eclipse.jdt.core.compiler.source=21 | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "java.compile.nullAnalysis.mode": "automatic", | ||
| "python-envs.defaultEnvManager": "ms-python.python:conda", | ||
| "python-envs.defaultPackageManager": "ms-python.python:conda", | ||
|
roshansamantaray marked this conversation as resolved.
|
||
| "python-envs.pythonProjects": [] | ||
| } | ||
Binary file not shown.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.