unoplat / unoplat-code-confluence

The goal is to understand the codebase/s to form a knowledge Graph.
10 stars 1 forks source link

feat: Add terminal Experience to parse codebase and generate semi structured metadata #14

Closed JayGhiya closed 1 month ago

JayGhiya commented 2 months ago

Ouput:

JayGhiya commented 2 months ago

Launch for users post this using instructions on how to use

JayGhiya commented 2 months ago

Add output summary spec based out of chapi struct and then change the summary generation code accordingly.

JayGhiya commented 2 months ago

cc: @vipinshreyaskumar

JayGhiya commented 2 months ago

At codebase level we would want to convert to a c4 component diagram. Trying this first @vipinshreyaskumar

JayGhiya commented 2 months ago

pydantic changes are done but there is representation recursion exception while loading into models. looks like i need to skip the list base model and iteratively load so validation happens @vipinshreyaskumar

JayGhiya commented 2 months ago

iteratively validating also did not help @vipinshreyaskumar need help lets have a look tomr

JayGhiya commented 2 months ago

Fixed - https://github.com/pydantic/pydantic/issues/2279

JayGhiya commented 1 month ago

Basic TUI experience added through pytermgui. Changelog:

Current TODO for next milestone:

cc: @vipinshreyaskumar Screenshot 2024-05-20 at 5 46 12 PM

Screenshot 2024-05-20 at 5 47 13 PM

JayGhiya commented 1 month ago

21st May Tasks:

JayGhiya commented 1 month ago

Here is the standard for metadata per class:

Class Summary: [ClassName]

Fields

Methods

JayGhiya commented 1 month ago

Update for today:

  1. Integrated phi3: 14b 4k instruct model for summarising better metadata based on markdown specification mentioned above. (phi3 follows instructions better than llama3 8b which is sota as of now for majority of all the tasks)
  2. Designed and implemented one of the best possible prompt which should work well with most of small models <33b.
  3. Started Integrating tests through pytest.