AI Coding assistant/ helper

Hello Gurus,
I am trying to build a coding assistant which can help my developers write code. The coding language is vb.net but my tool have its own syntax, functions, library used for coding. These functions and syntax are not known to any LLM and are private.

I used Azure OpenAI for few other purpose but in this case, the assistant should understand how to write code using functions, syntax, code examples which are not know to general LLM.

Could abyone suggest me the best approach here.

Thanks,
Sid

1 Like

fine tune a model for this might be your best approach

2 Likes

Thanks Mate. I need to train the model on syntax, functions, sample code. How do you think the JSONL should be created. Should the system role be same for all messages? I will have 1000s of such messages may be ~ 5000.

{
“messages”: [
{
“role”: “system”,
“content”: “You are a helpful assistant who writes code and specialize in XYZ area.”
},
{
“role”: “user”,
“content”: “Can you provide an example of XYZ?”
},
{
“role”: “assistant”,
“content”: “Code”
}
]
}

1 Like