mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-16 21:01:37 +00:00
init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import Context from "../../../../core/autocomplete/context-detection";
|
||||
import { FewShotExample } from "../../index";
|
||||
|
||||
const messages: FewShotExample = {
|
||||
context: Context.MathBlock,
|
||||
input: String.raw`# Sample mean
|
||||
The sample mean, or sometime called average, is defined as:
|
||||
|
||||
$$
|
||||
sample\_mean(x) = <mask/>
|
||||
$$
|
||||
The average value has the property that 50% of the weighted* value will be above and below it. This weighted property can make it more sensitive to outliers than the median.
|
||||
`,
|
||||
answer: String.raw`THOUGHT: The text is about sample mean; the math block needs LaTeX for the sum of observations divided by the number of observations.
|
||||
LANGUAGE: LaTeX, English
|
||||
ANSWER: \frac{1}{n} \sum_i^n x_i`,
|
||||
};
|
||||
|
||||
export default messages;
|
||||
Reference in New Issue
Block a user