Welcome! Please hold on...

0 %
Kashif Sohail
Sr. Frontend Developer
  • Residence:
    Pakistan
  • City:
    Karachi
  • Age:
    26
Magento 1x 2x
Wordpress
Laravel
Angular
React
English
Urdu
  • Bootstrap, Tailwind
  • Sass, Less, Css
  • Webpack
  • GIT knowledge
0

No products in the cart.

Code referencing now generally available in GitHub Copilot and with Microsoft Azure AI

October 17, 2024

[ad_1]

When people think of developers using public code, they often think of developers taking code that has already been written and building on it to create something new. It is quicker to build something than build on it NothingRight? While this is transactionally true, there is more to it than that. At the heart of open source culture is not just the use of public code, but also the ability to explore the repository in which it exists, learn more about the origin of the code, see who else is contributing to the code has worked to improve knowledge sharing in the community and understand possible licensing structures.

With the emergence and scope of new AI technology solutions like GitHub Copilot, the way developers work is changing, and with these changes it is important to incorporate the habits and practices that developers value into new ways of working. In this case, identifying countless sources where code could appear required the creation of a new solution – one that allows developers to prioritize these assets while promoting learning and knowledge sharing at scale.

GitHub development teams got to work today to resolve this issue We’re announcing the general availability of code referencing in the GitHub Copilot Chat And GitHub Copilot code completions. Developers can now choose to block suggestions with matching code or allow suggestions with information about the matches. This feature is currently available in VS Code and will be available more widely soon.

This is how code referencing works

With billions of files to index and a latency budget of just 10-20ms, it is an engineering miracle that finding specific matches is even possible. However, if a match is found (if public code matching is allowed), a notification will appear in the editor showing: (1) the matching code, (2) the file in which that code appears, and (3) license information (if available). ) recognized in the corresponding repository. This information is displayed for all public code matches detected in a model response.

We’re also excited to announce that GitHub has partnered with Microsoft Azure blue to expose the code referencing API in Azure AI Content Safety. Azure AI Content Safety users can use this feature via Protected material detection for code Filter. We believe in transparency as a core value of the open source community and want to ensure this capability is available to everyone, no matter what tool you use.

Whether you use GitHub Copilot or other generative AI tools that leverage the code referencing API, you can rely on transparency to make informed development decisions for each project.

Why code referencing is important

The power of code referencing for individual developers

For individual developers using GitHub Copilot, this provides greater transparency and keeps you in control. We have always had a filter that users can apply to prevent Copilot from making suggestions that match public code. Now, with code referencing, you have the additional option to allow all suggestions while still using Copilot, because when Copilot produces suggestions of 150 characters or more that match public code, you will be notified of the matches found and the repositories where the Code was found, notified and potential licenses detected. This information will help you make more informed decisions so you can build confidently with Copilot.

The Power of Code Referencing for Business

Copilot helps organizations Innovate faster than ever before. To help companies innovate responsibly, administrators have always had the ability to block suggestions that match public code. Using this filter ensures that customers are protected by GitHub’s indemnification obligation.

For development teams that want to benefit from the power of learning code referencing, GitHub’s compensation now extends to the use of code referencing if GitHub Copilot Business or GitHub Copilot Enterprise customers comply with the stated licenses. This means Copilot Business and Copilot Enterprise customers can expand Copilot context, usage and effectiveness of their teams while maintaining existing contractual protections.

We worked together to make code referencing a reality, not just for GitHub but for all AI development tools, and were guided by the values ​​that the open source community has long cherished and upheld – that of showing up and sharing information can drive innovation in new and groundbreaking ways. As we continue to expand and scale our capabilities with AI, GitHub is excited to provide developers with greater transparency, knowledge sharing, and tools for innovation.

Find out more about Code referencing.

Written by

Yalini Prabhakaran

[ad_2]

Source link

Posted in TechnologyTags:
Write a comment