Skip to content

Instantly share code, notes, and snippets.

Mix.install(
[
{:phoenix_playground, "~> 0.1.0"},
{:openai, "~> 0.6.1"},
{:makeup, "~> 1.1.2"},
{:makeup_elixir, "~> 0.14"}
],
config: [
openai: [
api_key: System.get_env("OPENAI_API_KEY"),
@cigrainger
cigrainger / elixir_za.livmd
Created July 16, 2024 18:19
Elixir ZA: Boost your data team's productivity with Explorer
# Elixir ZA: Boost your data team's productivity with Explorer
```elixir
Mix.install(
[
{:explorer, "~> 0.8.3"},
{:kino, "~> 0.13.2"},
{:kino_vega_lite, "~> 0.1.13"},
{:kino_explorer, "~> 0.1.20"},
{:adbc, "~> 0.6.0"},
Mix.install(
[
{:phoenix_playground, "~> 0.1.0"},
{:openai, "~> 0.6.1"}
],
config: [
openai: [
api_key: System.get_env("OPENAI_API_KEY"),
organization_key: System.get_env("OPENAI_ORGANIZATION_KEY")
]
Mix.install([
{:phoenix_playground, "~> 0.1.0"}
])
defmodule ContainerLive do
use Phoenix.LiveView
def mount(_params, _session, socket) do
{:ok, assign(socket, view: DemoLive)}
end

Have GPT-4 write a song

Mix.install(
  [
    {:midiex, "~> 0.6.1"},
    {:instructor, "~> 0.0.5"}
  ],
  config: [
    instructor: [

OOMing Affinity Propagation

Mix.install([
  {:scholar, "~> 0.2.1"},
  {:exla, "~> 0.6.0"}
])

Nx.global_default_backend(EXLA.Backend)

Mint closed

Mix.install([
  {:mint, "~> 1.5"},
  {:kino, "~> 0.9.4"}
])

Section

{
description = "Monorepo";
inputs = {
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";

Benchmark Explorer.DataFrame.from_list/1

Deps

Mix.install([
  {:benchee, "~> 1.0.0"},
  {:explorer, github: "kimjoaoun/explorer", branch: "joao/from_list"}
])

Exploring Explorer

Installation

Mix.install([
  {:explorer, "~> 0.1.0-dev",
   github: "amplifiedai/explorer", ref: "9b95d08679ecc97fcd4b5a9eedaaade95954bdfb"}
])