吃万艾可有什么副作用| 吃无花果有什么好处和坏处| 香港为什么叫香港| 饿是什么感觉| 先考是什么意思| 羊肉馅饺子放什么菜| 吃什么缓解便秘| 手上长红点是什么原因| 135是什么意思| 眼镜是什么时候发明的| 早搏应该吃什么药| 拉美人是什么人种| 女性什么时候绝经| 阳痿早泄吃什么药最好| 孕期能吃什么| 喝茶对身体有什么好处| 吃了避孕药有什么反应| 女人晚上盗汗是什么原因| nba打铁是什么意思| 什么茶降血压| trans什么意思| 心什么诚什么| 626什么意思| 头发黄是什么原因| 金字旁土念什么字| 焦糖色搭配什么颜色好看| 脾胃不好吃什么药好| 传导阻滞吃什么药| 为什么暑假比寒假长| 动脉血检查是检查什么| 阴虚内热是什么意思| 抽水是什么意思| 乙型肝炎表面抗体高是什么意思| 卧底是什么意思| 小孩手足口病吃什么药| 钠是什么| 人类的祖先是什么动物| 感冒什么时候传染性最强| 硬卧代硬座是什么意思| 黄鼻涕是什么原因| 课代表是什么意思| 孩子发烧是什么原因引起的| 看舌头应该挂什么科| 外婆家是什么菜系| 越国在现在的什么地方| 1930年属什么生肖| 女性排卵有什么症状或感觉| 血漏是什么病| 属鸡与什么属相最配| dolphin是什么意思| 什么叫五音不全| 圆形脸适合什么样的发型| 廿是什么意思| 为什么头会一阵一阵的痛| 59年属什么| 魁元是什么意思| 甲状腺肿大吃什么药| 人间炼狱是什么意思| 中度脂肪肝吃什么药| 喊麦什么意思| 查甲亢挂什么科| 什么是抽动症| 适宜是什么意思| 啤酒对身体有什么好处| 辅酶q10是什么东西| 梅花代表什么象征意义| 梦见玉碎了是什么意思| 5月6日是什么星座| 泄露是什么意思| 无创和羊水穿刺有什么区别| 什么是| 悱恻是什么意思| 战五渣是什么意思| 半夜呕吐是什么原因| 什么叫更年期| 手发抖是什么病的先兆| 色字头上一把刀什么意思| 玉越戴越亮是什么原因| 74岁属什么生肖| 吃什么提高免疫力和增强体质| 早年晚岁总无长是什么意思| 1985年属什么| 皮肤长癣是什么原因| 压迫硬膜囊是什么意思| 尿道口流脓吃什么药| 馀事勿取什么意思| 死于非命是什么意思| 面膜含什么成分不能买| 女生被摸胸是什么感觉| 啼笑皆非的意思是什么| 电起火用什么灭火器| 九月八号是什么星座| 亲子是什么意思| 四个自信是什么| cpr是什么| 水可以变成什么| 水瓶座和什么座最配对| 真实的印度是什么样的| 心源性哮喘首选什么药| 酚咖片是什么药| 犀利什么意思| 甲减不能吃什么东西| 猫咪轻轻咬你代表什么| 发光免疫是检查什么的| 如痴如醉是什么意思| 梦见双头蛇是什么征兆| 感冒头疼吃什么药好| 整夜做梦是什么原因| 乙酰胆碱的作用是什么| 血糖高是什么症状| 空调室内机漏水是什么原因| 剪刀手什么意思| 各位同仁用在什么场合| 秀五行属什么| 什么是导管| 中国的国花是什么花| 甲状腺是什么病严重吗| 八月一号什么星座| 霜和乳有什么区别| 前面有个豹子是什么车| 梦见别人盖房子是什么预兆| 农历六月初十是什么日子| 鹅口疮有什么症状| 的确良是什么面料| 胃酸烧心吃什么药可以根治| 牛筋草用什么除草剂| 七手八脚是什么意思| uno是什么| 陶弘景有什么之称| 宫颈cin1级是什么意思| 男人壮阳吃什么最快| 什么叫有机| 果腹是什么意思| 婴儿足底血筛查什么| 梦见背小孩是什么意思| 揶揄什么意思| 芭乐什么味道| 人生导师是什么意思| 钟爱一生是什么意思| 什么空调最省电| 免签国家是什么意思| 得理不饶人什么意思| 红枣和什么不能一起吃| 摧枯拉朽什么意思| 什么是舒张压和收缩压| 什么是应激反应| 空腹血糖高吃什么药| 乳腺增生吃什么食物好| 2003年的羊是什么命| 山竹有什么好处| 最新奥特曼叫什么| 硅胶是什么材质| 公历年份是什么意思| 睑缘炎用什么药| 为什么会手麻| 为什么会有鼻屎| 空腹喝酒有什么危害| 什么是血铅| 降压药什么时间吃最好| 梦见厕所是什么预兆| 锐字五行属什么| 贫血是什么原因| 咀嚼什么意思| 很长很长的什么填空| 人尽可夫什么意思| vertu手机为什么那么贵| 什么时候闰十月| 二龙戏珠是什么意思| 什么是死缓| 清浅是什么意思| 口加一笔变成什么字| 骰子是什么意思| 杜仲有什么作用| 黑色素沉淀是什么原因引起的| 麦芽糊精是什么| 寻麻疹是什么症状| 女人肺气虚吃什么补最快| 珩是什么意思| 麻薯是什么| 包皮龟头炎吃什么药| 什么原因引起尿路感染| 尿频是什么原因导致的| 蚊子怕什么气味| 肝脾肿大是什么症状| 吃什么水果解酒| 痱子吃什么药| 痹病是什么意思| 三月六号是什么星座| 袍哥什么意思| 一纸空文是什么意思| 什么是巧克力囊肿| 空调扇的冰晶是什么| 清鼻涕是什么感冒| 煮中药用什么锅| 七子饼茶是什么意思| 口真念什么| 荷花什么时候种植| 紧迫感是什么意思| 疱疹性咽峡炎吃什么食物| elisa是什么检测方法| 发烧去医院挂什么科| 泡脚有什么好处和坏处| 什么动物倒着走| 血压低是什么原因引起的| 吃亏是什么意思| 慢性胃炎吃什么药效果好| 过期的维生素c有什么用途| 20岁属什么的生肖| 流产是什么样子的| 心肌供血不足是什么原因造成的| 谢霆锋什么学历| 射精无力是什么原因| 吃葡萄有什么好处| 喝什么能解酒| 糖尿病人晚餐吃什么最好| 穿山甲用什么中药代替| 人的运气跟什么有关| 腠理是什么意思| 淋巴清扫是什么意思| 荷花指什么生肖| 茯砖茶是什么茶| 吃紧急避孕药有什么副作用| dr胸部正位片是检查什么的| 肿瘤标志物是什么| 儿童嗓子哑吃什么药| 微信转账为什么要验证码| 以逸待劳是什么意思| 周文王叫什么| 尿偏红色是什么原因| 黄猫来家里有什么预兆| 封神榜是什么| 财神在什么方位| 1700年是什么朝代| 正月初七什么星座| 什么布料最凉快| 你喜欢我什么| 狗哭了代表什么预兆| 眉心跳动代表什么预兆| 螃蟹过街的歇后语是什么| 心脏彩超fs是什么意思| 神仙水是什么| poc是什么| 什么药治脂肪肝| 6月26什么星座| 四五月份是什么星座| 喉咙痛吃什么药好| 惊蛰是什么季节| 我们都没错只是不适合是什么歌| 天天打喷嚏是什么原因| 布克兄弟什么档次| 血红蛋白浓度偏低是什么原因| 银行卡年费是什么意思| 为什么早上起来眼睛肿| 让平是什么意思| 彩超能检查什么| 两小儿辩日告诉我们什么道理| 变性淀粉是什么| 头脑胀痛什么原因| 无水奶油是什么| 避孕药什么时候吃有效| 心超是检查什么的| 梦见别人开车翻车是什么预兆| 完璧归赵发生在什么时期| 95年属什么多大| 百度

Try to extend agent mode in VS Code!

学雷锋|乐东建“七彩小屋” 逾三千人次留守学生受惠

百度 对虾中含有丰富的镁,镁对心脏活动具有重要的调节作用,能很好的保护心血管系统,减少血液中胆固醇含量,防止动脉硬化,同时还能扩张冠状动脉,有利于预防高血压及心肌梗死。

The AI Toolkit playground provides an interactive environment to experiment with generative AI models. You can test various prompts, adjust model parameters, compare responses from different models and explore multi-modal capabilities by attaching different types of input files.

AI Toolkit playground interface showing a chat interaction with a generative AI model.

Test a model in the playground

To access the playground:

  • In AI Toolkit view, select Tools > Playground
  • Select Try in Playground from a model card in the model catalog
  • Double click a model from MY Models to open it in the playground

To test a model in the playground, follow these steps:

  1. In Model Preferences, select a model from the dropdown list.
  2. Optionally, add a System Prompt to guide the model response.
  3. Optionally, configure the model parameters available for the selected model.
  4. Enter a chat prompt in the chat input box

GitHub Pay-as-you-go Model Support

AI Toolkit now supports GitHub pay-as-you-go models, so you can keep working after passing free tier limits.

  • When you reach GitHub’s model usage limit, AI Toolkit shows a warning with a link to GitHub’s paid usage documentation.

    Screenshot of the GitHub Pay-as-you-go Model support

  • Turn on billing for models in your GitHub settings (requires signing in to your GitHub account).

  • After enabling billing, keep using the model in Playground or Agent Builder without changing your workflow.

Model preferences

Model Preferences panel displaying adjustable parameters for generative AI models

The Model Preferences panel allows you to select a model for playground interaction, set system prompts to guide the model's behavior and configure the model parameters for the selected model.

Select a model

The dropdown list in the Model Preferences panel shows the models you have added to AI Toolkit. You can select Browse Models to open the model catalog and add more models.

System prompt

A system prompt is a predefined instruction that guides the model's behavior and response style. You can add, edit, or delete the system prompt in the input text area to influence how the model generates responses.

Configure inference parameters

The available parameters depend on the model type and publisher. Common parameters include:

  • Temperature: Controls the randomness of the model's output. Lower values make the output more deterministic. Higher values introduce more variability.
  • Top P: Controls the diversity of the output by limiting the cumulative probability of the selected tokens. A lower value results in more focused responses. A higher value allows for more diverse outputs.
  • Max Response Length (Tokens): Sets the maximum number of tokens in the model's response. This limits the length of the generated text.
  • Frequency Penalty: Reduces the likelihood of the model repeating the same tokens in the response. Higher values discourage repetition.
  • Presence Penalty: Encourages the model to introduce new topics or concepts in the response. Higher values promote diversity in the generated text.

Chat prompt

Chat prompt input box in AI Toolkit playground showing an attachment icon for adding files.

The chat prompt is the input text you provide to the model. You can enter a question, statement, or any text that you want the model to respond to. The model generates a response based on the provided prompt and the configured system prompts and parameters.

Available features in the chat prompt input box:

  • Send: Submit the chat prompt to the model for processing.
  • Clear: Clear the chat prompt input box.
  • File Attachment: Attach files to the chat prompt for multi-modal models.
  • Image Attachment: Attach images to the chat prompt for multi-modal models.
  • Web Search: Perform a web search to find information related to the chat prompt.
  • Mode Switch: Switch between different modes for using AI features.

Switch between modes

You can switch between different modes in the chat prompt input box:

  • Use native supported AI features from a model: This mode allows you to use the native capabilities of the selected model, such as web search or file attachment.
  • Use all AI features: This mode allows you to use AI feature implemented by AI Toolkit, such as file attachment regardless of the model's native capabilities.

If a capability is not supported by the selected model or by AI Toolkit, a warning appears above the chat prompt input box. The warning recommends that you switch to a different model that supports the feature.

Screenshot showing warning message displayed above the chat prompt input box stating Capability not supported.

Model responses

AI Toolkit playground response area showing a generated Python code snippet for encoding text in base64, with options to copy or regenerate the response.

Model responses are displayed above the chat prompt input box. Before you enter a chat prompt, the playground shows a welcome screen with three starter prompts for you to get started with the playground.

Available features in the model response area:

  • Copy Response: Copy the model's response text to the clipboard.
  • Regenerate Response: Regenerate the model's response based on the same prompt or regenerate response with another model.
  • Copy Code: Copy the generated code in the response to the clipboard or insert it into a new file.
  • Rendering: Playground supports rendering of code snippets, images, markdown, LaTex and other content in the model's response.
  • Token Count: Displays the number of tokens used in the model's response. This helps you understand the cost and performance of the model.

Tool bar

The tool bar in the playground provides quick access to various actions and features: Tool bar in AI Toolkit playground showing buttons for clearing chat history, saving chat, and switching modes.

  • New Playground: Create a new playground session.
  • History: View, rename, delete, and switch to a chat history.
  • Automatic Naming: Names of chat sessions are automatically generated based on the user prompt.
  • Compare: Compare responses from different models side by side.
  • View Code: View the generated code for the chat prompt from LLM integration.

Compare model responses

Screenshot showing side by side comparison of responses from different models in the AI Toolkit playground.

The Compare feature allows you to compare responses from different models side by side. This is useful for evaluating the performance of different models on the same prompt.

To compare model responses:

  1. Select the Compare button in the tool bar.
  2. Choose the models you want to compare from the dropdown list.
  3. Enter the same chat prompt in one of the input boxes. Your prompt is copied to the other input boxes.
  4. Select Send to submit the prompt to all selected models.
  5. The responses from each model appear side by side for easy comparison.

For each model you are comparing, you can:

  • Copy the response text to the clipboard.
  • Configure the model parameters for the selected model.
  • Continue the chat with the selected model.

What you learned

In this article, you learned how to:

  • Use the AI Toolkit playground to interact with generative AI models.
  • Test models in the playground, configure system prompts and parameters, and explore multi-modal capabilities by attaching files.
  • Use the Compare feature to evaluate the performance of different models on the same prompt and view responses side by side.
  • Use the chat prompt input box to send prompts, attach files or images, perform web searches, and switch between modes for AI features.
  • View model responses, copy or regenerate responses, and render code snippets, images, markdown, and LaTeX.
  • Track token count in model responses to understand cost and performance.
  • Use the Model Preferences panel to select models, set system prompts, and adjust inference parameters.
  • Use the tool bar to create new playground sessions, view and manage chat history, automatically name sessions, compare models, and view generated code.
  • Manage chat history, including viewing, renaming, deleting, and switching between sessions.
吃韭菜有什么好处和坏处 菀字五行属什么 女人左眼下有痣代表什么 前列腺增生有什么症状 小孩子头晕是什么原因
母亲ab型父亲o型孩子什么血型 深v是什么意思 业力是什么意思 后入是什么意思 三手烟是什么
阿姨是什么意思 疣是什么样子图片 什么不可什么 平平仄仄是什么意思 命中劫是什么意思
捣碎东西的器皿叫什么 为什么想到一个人会心痛 当我谈跑步时我谈些什么 洲际导弹是什么意思 狐狸吊坠有什么寓意
泡黄芪水喝有什么好处hcv7jop4ns8r.cn 酒后头疼什么原因hcv8jop1ns8r.cn 古代四大发明是什么yanzhenzixun.com 投喂是什么意思hcv8jop7ns2r.cn plus是什么意思hcv7jop5ns4r.cn
尿酸碱度是什么意思hcv8jop6ns1r.cn 身份证拍照穿什么衣服hcv7jop9ns8r.cn 孩子不好好吃饭是什么原因hcv8jop8ns6r.cn 五香粉是什么hcv9jop7ns1r.cn 情商高是什么意思hcv9jop4ns9r.cn
势均力敌什么意思hcv7jop9ns4r.cn 六月份是什么季节hcv7jop6ns3r.cn 玳瑁是什么hcv8jop4ns0r.cn 麻木是什么原因引起的hcv8jop7ns6r.cn 喜神是什么意思hcv7jop4ns8r.cn
为什么总是长口腔溃疡naasee.com 半身不遂的前兆是什么症状zsyouku.com daddy什么意思hcv7jop9ns0r.cn 空调风扇不转是什么原因hcv8jop0ns0r.cn 四海是什么意思wuhaiwuya.com
百度