Skip to content

Placeholder approach for non FIM LLM #52

@damianofalcioni

Description

@damianofalcioni

Hi,
I've see "good" results on different models with this simple prompt:

Replace MY_PLACEHOLDER in the following code. 
Respond with only the text that replace MY_PLACEHOLDER. 
No additional text is allowed in the response.
```javascript
for (let i=0;i<10;MY_PLACEHOLDER) 

As I'm not an LLM expert, do you think that having a template like this and adding MY_PLACEHOLDER at cursor position can be a valid approach for using models that do not support FIM?

Thanks,
Damiano

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions