bananen-software / gavel

A toolkit that can be used to gather insights into Software Architecture quality
1 stars 1 forks source link

Evaluate integration with AI models #18

Open SoylentBob opened 1 month ago

SoylentBob commented 1 month ago

There are some use cases, where it might be useful for gavel to ingest code or entire components and use an AI model to analyze them.

Recent post on the Martin Fowler Blog: https://martinfowler.com/articles/legacy-modernization-gen-ai.html

An approach may be to include an optional dependency on a llamafile such as: https://github.com/Mozilla-Ocho/llamafile

Some ideas I have in mind:

SoylentBob commented 1 month ago

This repo describes how to set up a RAG process with llama files: https://github.com/Mozilla-Ocho/llamafile-rag-example/

SoylentBob commented 13 hours ago

https://github.com/cameronking4/Annotated-AST-For-LLM

SoylentBob commented 13 hours ago

https://medium.aiplanet.com/understanding-and-querying-code-a-rag-powered-approach-b85cf6f30d11?gi=11d2dde6ba9e

SoylentBob commented 13 hours ago

https://severalnines.com/blog/vector-similarity-search-with-postgresqls-pgvector-a-deep-dive/