Skip to content

Instantly share code, notes, and snippets.

View ktundwal's full-sized avatar

Kapil Tundwal ktundwal

View GitHub Profile
@ktundwal
ktundwal / medprompt-paper.md
Last active January 15, 2024 19:08
medprompt paper

Medprompt = composition of several prompting strategies.

Medprompt greatly enhances GPT-4’s performance and achieves state of the art results on all nine of the benchmark datasets in the MultiMedQA suite. The method outperforms state-of the-art specialist models such as Med-PaLM 2 by a large margin with an order of magnitude fewer calls to the model. Steering GPT-4 with Medprompt achieves a 27% reduction in error rate on the MedQA dataset (USMLE exam) over the best methods to date achieved with specialist models, and surpasses a score of 90% for the first time. Moving beyond medical challenge problems, we show the power of Medprompt to generalize to other domains and provide evidence for the broad applicability of the approach via studies of the strategy on competency exams in electrical engineering, machine learning, philosophy, accounting, law, nursing, and clinical

@ktundwal
ktundwal / sept-2021-msft.md
Created September 12, 2021 21:38
2021-msft-notes

this is note from machine

@ktundwal
ktundwal / OneDriveLinqPadQuery.linq
Created January 30, 2019 18:24
Linqpad Query that allows you to create a file in user's OneDrive. Please update the token with what you got from TokenResponse.Token in BotFramework v4
<Query Kind="Program">
<NuGetReference>Microsoft.Graph</NuGetReference>
<Namespace>System.Threading.Tasks</Namespace>
<Namespace>Microsoft.Graph</Namespace>
<Namespace>System.Net.Http.Headers</Namespace>
</Query>
string token = "INSERT ACCESS TOKEN HERE. BotFramework > TokenResponse.Token";
void Main()
@ktundwal
ktundwal / linqpad-bot-framework-chain-test.linq
Last active October 6, 2018 18:54
Bot framework chain test using LinqPad
<Query Kind="Program">
<Reference>&lt;RuntimeDirectory&gt;\Microsoft.Build.Framework.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\Microsoft.Build.Tasks.v4.0.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\Microsoft.Build.Utilities.v4.0.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.ComponentModel.DataAnnotations.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.Configuration.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.Design.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.DirectoryServices.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.DirectoryServices.Protocols.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.EnterpriseServices.dll</Reference>
@ktundwal
ktundwal / Office365MailOperations.cs
Created November 10, 2014 02:10
What Happened Mail Operation Service
namespace WhatHappened.API.Helpers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Office365.OutlookServices;
using WhatHappened.API.Models;