-
Notifications
You must be signed in to change notification settings - Fork 20
Slang AI assitant blog #136
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
layout: post | ||
title: "Slang: Using AI coding assistants" | ||
date: 2025-07-17 | ||
categories: [ "blog" ] | ||
tags: [slang] | ||
author: "Mukund Keshava, NVIDIA" | ||
image: /images/posts/2025-08-01-slang-ai-assistant.webm | ||
human_date: "August 1, 2025" | ||
--- | ||
|
||
## Introduction | ||
|
||
Large Language Models(LLMs) aid coding by boosting productivity. llms.txt is a proposed standard for websites to offer LLM-friendly content, mainly to assist LLMs during inference. | ||
Slang now supports the llms.txt standard. You can now use LLMs to accelerate your development with help of coding assistants like [Cursor](https://cursor.com/agents) or any tool of choice by providing relevant context about Slang’s | ||
documentation, within your projects. We provide 3 different versions of llms.txt: | ||
|
||
1. llms.txt - contains links with brief descriptions for agents to navigate. Use this if you’re looking for basic understanding of slang | ||
2. llms-full.txt - contains entire slang docs compressed into the llms.txt format. Use this for more detailed documentation or for detailed explanations of slang. | ||
3. llms-slangpy-full.txt - contains SlangPy related information. Use this for slangpy related topics. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent capitalization of SlangPy. (Recommend using the mixed case, SlangPy). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
|
||
## Usage | ||
|
||
You can download these and use them with Cursor, or simply include these as part of the context to get started.The SlangPy version of the file is maintained separately due to its distinct repository and focus on Python interfaces. These files are available for download and can be integrated with Cursor, or alternatively, included as contextual resources to facilitate initial setup. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "or simply include these as part" -> "or simply include them as part" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
Integrating llms-full.txt directly into the prompt significantly enhances the quality of the output. | ||
|
||
Below is an illustration of utilizing llms.txt within Cursor for the development of a slang-based application. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Capitalize Slang There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
This demonstrates how users can access high-quality documentation concerning generics and gain insight into their implementation. Here we can see the following happen: | ||
|
||
1. User provides the llms-full.txt as part of the prompt and posts a query related to how they can use slang features | ||
2. We can see that the LLM goes through the relevant documentation and obtains answers as to how generics and interfaces can help reduce code duplication. | ||
3. The LLM then goes ahead and provides implementation as well on how this can be done. | ||
4. Note: Given the current state of LLM’s output will never be 100% accurate compilable code. However, it serves as a helping guide to implement next steps. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Given the current state of LLM's output will never..." -> "Given the current state of LLMs, output will never..." There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (I also might rephrase "will never be 100% accurate compilable code" to be "may not be 100% accurate, compilable code, so you will need to review it closely") There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
|
||
<img src="/images/posts/2025-08-01-slang-ai-assistant.webm" alt="AI coding assistant" class="img-fluid" style="max-width: 100%; width: 800px; height: auto;"> | ||
|
||
We encourage you to try out this integration and experience firsthand how it can streamline your development workflow, | ||
and we welcome your feedback to help us further improve this valuable tool. Kindly start discussion on our slang discord or file issues on our github if you have suggestions. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Capitalize Slang, Discord, and GitHub. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update date here as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done