graphitout
Joined 3 years ago
Joined 3 years ago
I added types to a python codebase (50k) using claude code and it still took some effort to make mypy happy.
voicevoyage.io looks interesting. Will keep an eye.
https://github.com/antirez/voxtral.c/blob/main/python_simple...
Thanks a lot! Let me see if I can get it to work with pure numpy while keeping the input audio part streaming.
It is good for handling all code changes where there are no security aspects involved.
The issue was that most of these steps were long (above 512 tokens). So the typical chunk window wouldn't capture the full steps. We added a tool calling capability by which LLM can request nearby chunks of a given chunk. This worked well in practice, but burned more $$.
Faced similar issues. Ended up adding a agentic tool call layer on the top to retrieve the nearby chunks to handle a case where a relevant answer was only partially available in a chunk (like a 7 step instruction in which only 4 were available in a chunk). It worked ok.
- llm_generate() - this is the core function which calls ollama API
- get_related() - this will give a sequence of related topics for a given topic and description
- llm_get_aspect_query() - this is tricky. The interface has a fixed set of aspects for every response. Like history, related ideas, people etc. I wanted a way to create new query based on an existing query and a given aspect. This func does the rephrasing of the query.
- App.vue: handle_related() - there is a tiny bit here. When going to another "suggested" topic, it seems we have to give it some context.