-
Notifications
You must be signed in to change notification settings - Fork 74
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
Questions: tree sitter, git, ollama #60
Comments
Anyone? |
Hi there! Thank you for your suggestion. I will look into it. It would be great if you can share any details with me. |
Reference: here We applied
Seems like tree-sitter is better than ast because it provides multiple programming language support. Correct me if i am wrong. @LOGIC-10 |
Thanks for the response guys. Again, excellent work. I am on the same boat and the support for the multiple programming languages is a stopper from using your project. As I can see you do Python AST + Jedi for the function calls. AST is only one layer and here with Jedi you want to add function calls into the picture. But, there is a standard notion for extracting codebase semantics. It is called CPG (code property graph) Have you maybe considered that? |
I wonder if CPG have a python implementation? https://github.com/markgacoka/codepropertygraph may not be a good choice. And the goal is to replace AST + Jedi via one or multiple library in order to acheieve multi-language support. |
I am using Joern for CPG -> Neo4j, but that is scala |
It seems that now is not a good time to introduce CPG but we will definitely consider tree sitter. |
Understood, but when you use tree-sitter, maybe you can only take its CST output and use a code chunker from llama index |
Seems like Right now we only used Similar projects for reference are as follows: |
Hello, I too wanted support for languages other then python. Does anybody know the approach or neccsessary changes to be done to the existing code repository? |
openai很多地方无法使用,我也期待支持ollama |
Is there any method/approach for supporting multiple programming language to find_all_referencer of single function ? |
Hello, interesting project and architecture.
I see that the support for other programming languages is left for future. Have you considered using tree-sitter for code parsing?
Also, why did you decide to use pre-commit hooks instead of pullling git repository with a scheduler. Llama index github reader could be leveraged in that case.
Do you plan to support Ollama and if so, which of the open source models you reckon would be the best fit?
Thanks
The text was updated successfully, but these errors were encountered: