The chat history and name of the user’s active shell is also appended to the message that is sent to the AI service. Windows Terminal Canary only communicates with an AI service when the user sends a message. This allows us to get answers that are more tailored towards the shell that we are currently using– Because as we all know, listing files in a directory is a lot different in Command Prompt than it is in PowerShell □ Terminal Chat also takes the name of the active shell that you are using and sends that name as additional context to the AI service. Terminal Chat will not run the suggestion automatically for you– This way, you will have time to reason over the command before executing it □ This will allow you to use Terminal Chat with the AI service that is affiliated with your service endpoint.Ĭlicking on the suggestion will copy it to the input line of your terminal. The View code pop-up dialog will show you a valid Azure OpenAI Service endpoint and key that you can use for Terminal Chat.Īfter entering your AI service endpoint and key in the Terminal Chat settings, select Store and Save to store and save those values. You will need to use a gpt-35-turbo model with your deployment.Īfter creating a resource and deploying a model, you can find your Azure OpenAI Service endpoint and key by navigating to the Chat playground in Azure OpenAI Studio and selecting View code in the Chat session section. In that documentation, you will learn how to: To create and deploy an Azure OpenAI Service resource, please follow the official Azure OpenAI documentation on creating and deploying an Azure OpenAI Service resource. To get an Azure OpenAI Service endpoint and key, you will need to create and deploy an Azure OpenAI Service resource.Ĭreating and Deploying an Azure OpenAI Service resource Terminal Chat only supports Azure OpenAI Service for now. To use Terminal Chat, you will need to add an AI service endpoint and key to the Terminal Chat settings of Windows Terminal Canary. Windows Terminal Canary does not ship with a default model or built-in AI model. You can also download the latest build of Windows Terminal Canary from our GitHub repository as well. The code for Terminal Chat, our AI chat experience, can be found in the feature/llm branch of the Windows Terminal repository on GitHub. For now, users will need to provide their Azure OpenAI Service endpoint and key to use Terminal Chat. This feature does not ship with its own large-language model. Terminal Chat is a feature in Windows Terminal Canary that allows the user to chat with an AI service to get intelligent suggestions (such as looking up a command or explaining an error message) while staying in the context of their terminal. Open sourcing this feature will allow developers to get a chance to try this experience and build it with us. The Windows Terminal team is committed to transparency, and we want to give the open-source community an opportunity to help us define what AI looks like in a terminal application.Īs a result, we are open sourcing our work on Terminal Chat, our AI chat feature. Since then, we have been listening to customer feedback and iterating on our AI chat experiments in Windows Terminal. At Build 2023, we announced that Windows Terminal users will be able to take advantage of natural language AI to recommend commands, explain errors and take actions within Windows Terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |