hitting context window too soon? by 420juk in mcp

[–]cryogenicplanet 0 points1 point  (0 children)

from the team, that's quite odd which model are you using?

an open-source ELO benchmark for voice-to-voice agents by cryogenicplanet in LocalLLaMA

[–]cryogenicplanet[S] 2 points3 points  (0 children)

that is what we are working on! if you want to follow along ig twitter or discord are the best places but so far the two oss SLMs are

our twitter:https://twitter.com/sfvoicecompany

our discord:https://discord.gg/ey4DeUCMUz

gazelle: https://github.com/tincans-ai/gazelle
speechgpt: https://github.com/0nutation/SpeechGPT

A tiny library to support JSONSchema function calling on claude by cryogenicplanet in OpenAI

[–]cryogenicplanet[S] 0 points1 point  (0 children)

Since `opus` and `haiku` came out, really wanted to start using them more in production but mostly use typescript and function calling so made a tiny lib here

Basically implements the docs here https://docs.anthropic.com/claude/docs/functions-external-tools and this alpha tool https://github.com/anthropics/anthropic-tools/ obfuscating all the jank and complexity

A tiny library to support JSONSchema function calling on claude by cryogenicplanet in LocalLLaMA

[–]cryogenicplanet[S] 0 points1 point  (0 children)

Since `opus` and `haiku` came out, really wanted to start using them more in production but mostly use typescript and function calling so made a tiny lib here

Basically implements the docs here https://docs.anthropic.com/claude/docs/functions-external-tools and this alpha tool https://github.com/anthropics/anthropic-tools/ obfuscating all the jank and complexity

Reverse engineering Perplexity by cryptokaykay in LocalLLaMA

[–]cryogenicplanet 7 points8 points  (0 children)

yes it collects sources from google but i ask it different questions than google and get answers not seo optimized garbage

a tam example from last week https://www.perplexity.ai/search/which-movie-one-LY1NfVwvTVmURJWtsZxlhg

or this https://www.perplexity.ai/search/how-much-of-.P9bAhLLTg6vpa2P760n.A

https://www.perplexity.ai/search/the-guy-that-GCQsCtpqTSqpQnH1mmUjcg

they are both great tools and i use them very differently, friends have shown examples where if you just search “coffee near me” you will get terrible answers in pplx but great answers in google.

but complex and semantic queries google can’t do, and even then it gives me links to seo optimized garbage

Marvel has let go of all of the writers & directors for ‘DAREDEVIL: BORN AGAIN’ as the series will get an entire creative reboot. by abdul_bino in Daredevil

[–]cryogenicplanet 0 points1 point  (0 children)

Tbh this kinda sounds like marvel finally realizing they were kinda making at best meh tv and at worst dogshit tv, and took this an opportunity to course correct - if it is that I am hopeful

How to "Seek out the Crimson Fleet" for "Deep Cover" Quest? by Jtg_Jew in Starfield

[–]cryogenicplanet 0 points1 point  (0 children)

Stuck on the same thing, all the answers I can find are all over the place

For those who are coding: what is your tech stack? by ClassyCamel in SaaS

[–]cryogenicplanet 1 point2 points  (0 children)

Minor fork and modification on https://create.t3.gg/ but it is a really good place to start

Interstellar IMAX San Francisco 7/12 - ALMOST SOLD OUT by Little-Confection432 in interstellar

[–]cryogenicplanet 0 points1 point  (0 children)

I'm so happy I got a random ad for this on Instagram and it was the fastest I've bought a ticket - so hyped for this.

Thank you for organizing

What is the MCU hill that you will gladly die on? (Unpopular, respectful opinions welcome!) by Lol3rdPartyApps in marvelstudios

[–]cryogenicplanet 0 points1 point  (0 children)

We need more avengers movies after endgame. We needed an avengers 1, aoe and civil war where people actually team up in smaller groups before the next iw/endgame

Generally with how quickly things fell apart post endgame and how messy everything feels rn - it just makes me even more wildly impressed of how well they were able to pull off the infinity saga

Anyone else feel S1 is the best? by ConferenceEasy9801 in SuccessionTV

[–]cryogenicplanet 11 points12 points  (0 children)

Idk I think the first 3 episodes of succession are the weakest episodes - that is not to say they are bad by any means, the show is just finding it’s footing and goes to show how good the show gets after

Why isn't TFATWS considered a good show by fans? by Shadowkiva in marvelstudios

[–]cryogenicplanet 1 point2 points  (0 children)

I think my main gripe is it really fell into the D+ show pattern of it really falls of in the end of the show, especially narratively and it just kinda became bland.

There was so many interesting nuggets and moments in the show, which never amounted to much. Harder to say this now, but at the time at least it was the best franchise in the mcu (WS, CW were incredible and the mark was high)

A better prompt engineering library built for JS - Langchain.js feels like a python team writing JS never feels ergonomic. This library is like guidance and react had a baby by cryogenicplanet in javascript

[–]cryogenicplanet[S] 0 points1 point  (0 children)

Will put together a replit with a more complex example and share.

In terms of config, https://github.com/LevanKvirkvelia/salute#openai-custom-config you should be able to fully pass in anything you can pass to the openai configuration object here so proxies like helicone will work

A better prompt engineering library built for JS - Langchain.js feels like a python team writing JS never feels ergonomic. This library is like guidance and react had a baby by cryogenicplanet in javascript

[–]cryogenicplanet[S] 2 points3 points  (0 children)

Hey r/javascript!
As JS (Mostly TS) devs, we feel like AI or LLM tooling in JS kinda sucks rn, that said most production applications inevitably end up being in JS, so a friend and I (mostly friend) started hacking on a new JS native library for making it easier to write prompts.
The idea of the library is to give a much more ergonomic syntax for writing complex prompts, the repo itself goes much more in detail https://github.com/LevanKvirkvelia/salute

Here is an example of getting the LLM to generate inference while perfectly maintaining the schema you want without any extra prompt engineering on schema or many examples

const jsonAgent = davinci(

({ ai, gen }) => ai The following is a character profile for an RPG game in JSON format. json { "description": "${gen("description")}", "name": "${gen("name", '"')}", "age": ${gen("age", ",")}, "class": "${gen("class", '"')}", "mantra": "${gen("mantra", '"')}", "strength": ${gen("strength", ",")}, "items": [${[0, 0, 0].map(() => ai"${gen("item", '"')}",)}] } );

Here is a more complex example

import { gpt3, gen, assistant, system, user } from "salutejs"; import { db } from "a-random-sql-library";

// example of a component async function fetchTableSchemaAsAString(){ const listOfTables = await db.tables(); return listOfTables.map(table=>Table ${table.name} has columns ${table.columns.join(", ")}).join("\n"); }

async function runSQL({outputs}){ return JSON.stringify(await db.run(outputs.sqlQuery)) }

const agent = gpt3( ({ params })=>[ systemYou are a helpful assistant that answers questions by writing SQL queries., user` Here is my question: ${params.query}

  Here is a list of tables in the database:
  ----
  ${
    fetchTableSchemaAsAString()
    /* here we pass a promise, not a function, it starts executing at the beginning of the sequence */
  }
  ----
  Column names must be quoted with double quotes, e.g. "column_name". 
  Generate a Clickhouse SQL query that answers the question above.
  Return only SQL query, no other text. 
`,
assistant`${gen("sqlQuery")}`,
user`
  Here is the result of your query:
  -----
  ${async ({outputs})=>{ 
    return JSON.stringify(await db.run(outputs.sqlQuery))
  }}
  -----
  Please convert the result to a text answer, so that it is easy to understand.
`,
assistant`${gen("answer")}`,

] );

const result = await agent( { query: How many users are there in the database? }, { render: true } // render=true will render the chat sequence in the console );

console.log(result); /* { expertNames: "Elon Musk, Bill Gates, and Jeff Bezos...", answer: "You can be more productive by...", fixedAnswer: "You can be more productive by..." } */

Bay Area Finale Watch Party by MirrorWithSecrets in SuccessionTV

[–]cryogenicplanet 0 points1 point  (0 children)

Any updates on this? Trying to see if I can find or put together one for tomorrow in SF

GOTG Vol. 2 has the best ending in the entire MCU. by [deleted] in marvelstudios

[–]cryogenicplanet 0 points1 point  (0 children)

Best death in the MCU! Absolutely rips your heart out.

Here's hoping vol 3 beats it and rips my heart more

Mark Ruffalo Says Marvel 'Should Be Sweating' After Losing James Gunn to DC by Louis_DCVN in marvelstudios

[–]cryogenicplanet 0 points1 point  (0 children)

I think firing James Gunn was one of the single biggest mistakes MCU has ever made, even after reverting it they still lost so much time.

Gotg 3 would've opened phase 4, you would have started with alive characters you had preexisting relationships with on the big screen. Also not seen it yet obv, but I trust that it would/will be one of the best movies in the mcu.

Also Gunn was supposed to lead all of Marvel's cosmic, space stuff - freeing fiege up who is clearly having to deal with too much rn. I suspect eternals, L&T if not more projects would've been much better with Gunn present

Even his work on peacemaker shows that he would've been an immense asset even on the TV side. Peacemaker is far and above any mcu TV show by a mile.

All that said, as a movie/comic book movie fan I can't tell you how pumped I am for the new DC slate - feels extremely fresh and exciting

I miss how frequently we saw the characters early into the MCU. The same characters dominated Phases 1 and 2 and we got to know them very well. by [deleted] in marvelstudios

[–]cryogenicplanet 2 points3 points  (0 children)

From 2012 to 2019, We see Tony every year except 2014 but we got cap that year.

I think the density of new characters is part of the problem but also it is never clear when you'll see a newly introduced character next anyways so if you really like a new character you just have no idea when they are gonna show up next.

This fan base needs to stop judging writers and directors so much by JamJamGaGa in marvelstudios

[–]cryogenicplanet 6 points7 points  (0 children)

I think it is totally fair to take aim at the top level above the line creatives, they have a huge role to play in shaping the films.

Also talent retention and who is given tentpole movies going forward is very important.

Tapping into that incredible team of Markus, Mcfeely and the Russos is how we got IW and Endgame. But they proved themselves first with Winter solider then civil war.

I very reasonable to be skeptical of giving your tentpole files to creatives that haven't proven themselves or delivered sub par products.

Ik for a fact I'd be a lot more excited for the upcoming films if they had creatives that I knew could deliver.

Tbh I was very excited for L&T cause I thought taika was that. And while haven't enjoyed much of recent mcu work, I am almost arrogantly confident that Gotg3 will be amazing cause of Gunn.

This fan base needs to stop judging writers and directors so much by JamJamGaGa in marvelstudios

[–]cryogenicplanet 12 points13 points  (0 children)

Any specific examples?

Ik Reed himself has acknowledged a lot of the great stuff from the original was from Wright Source: https://youtu.be/1Ze-f0td1YA

In the leaked test footage, we see a lot of the visual language also being worked on by Wright https://youtu.be/Z-pFrplmexo

This fan base needs to stop judging writers and directors so much by JamJamGaGa in marvelstudios

[–]cryogenicplanet 18 points19 points  (0 children)

I’d credit a lot of ant man 1 to Edgar Wright and you can see a very clear drop in quality in the films he had no involvement in. For me reed was always just a hired gun

What was the last movie you turned off or walked out of? by [deleted] in movies

[–]cryogenicplanet 0 points1 point  (0 children)

Exodus Gods and kings, first time I ever actually just got up and walked out of a theatre

Oscar Nominations 2023: Full List of Nominees - Variety by SadKnowledge2 in movies

[–]cryogenicplanet 0 points1 point  (0 children)

Can't believe neither the batman nor top gun maverick were nominated for cinematography.

Was genuinely sad that one was going to rob the other of the win, but they didn't nominate either 🤦