- debugging MCP servers: https://github.com/modelcontextprotocol/inspector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// pseudo-code | |
const engine = new Publicode(rules); | |
const inputs = {} | |
while(engine.missingVariables.length) { | |
// get next question from publi.codes decision tree | |
// has question, schema... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy(Array.from($0.querySelectorAll("li.down .url")).map(li => | |
`${li.querySelector(".link a.internal").textContent}\t${li.querySelector("div.status:first-child").textContent}` | |
).join("\n")) |
ENSAE: Introduction aux enjeux du MLOps
For open-source projects, GitHub could provide the workflow and runners for total automation.
wandb looks used widely for reporting.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run query from a plain prompt text file | |
jq -Rs '{ stream: false, model: "llama3.2", prompt: . }' ./some.prompt | curl -X POST http://127.0.0.1:11434/api/generate --data-binary @- | jq -r '.response' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# for some reason this give "neither the id_token nor the profileURL set an email" | |
# | |
# | |
# | |
# https://oauth2-proxy.github.io/oauth2-proxy/configuration/overview | |
# | |
OAUTH2_PROXY_HTTP_ADDRESS: "0.0.0.0:4180" | |
OAUTH2_PROXY_WHITELIST_DOMAINS: "*.kube-dev.incubateur.net" | |
OAUTH2_PROXY_DISPLAY_NAME: "test-pc provider" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const query = | |
"Fais-moi un texte de RAP à la gloire de betagouv et formattes le en markdown"; | |
const res = fetch( | |
"https://api.scaleway.ai/xxx", | |
{ | |
method: "POST", | |
headers: { | |
Authorization: "Bearer xxx", | |
"Content-Type": "application/json", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-check | |
// run in your browser or with `node internet.mjs` with the ALBERT_API_KEY set below | |
// see also: https://albert.api.etalab.gouv.fr/documentation | |
const API_KEY = process.env.ALBERT_API_KEY; | |
const API_URL = "https://albert.api.etalab.gouv.fr"; | |
const LANGUAGE_MODEL = "AgentPublic/llama3-instruct-8b"; // see https://albert.api.etalab.gouv.fr/v1/models |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder