-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: main
Are you sure you want to change the base?
Conversation
This PR adds a new blogpost that talks about usage of AI assistants for use with slang development.
8aa1d3d
to
e341250
Compare
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.
Looks good to me.
--- | ||
layout: post | ||
title: "Slang: Using AI coding assistants" | ||
date: 2025-07-17 |
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
|
||
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent capitalization of SlangPy. (Recommend using the mixed case, SlangPy).
|
||
## 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 comment
The reason will be displayed to describe this comment to others. Learn more.
"or simply include these as part" -> "or simply include them as part"
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. | ||
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize Slang
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 comment
The 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 comment
The 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")
<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 comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize Slang, Discord, and GitHub.
No description provided.