20 Dec 2024 | |||
antononcube | (Meaning, I wanted to just see and experiment with LLM-features in a Raku-centric notebook.) | 14:03 | |
librasteve | yeah - I get that ... I was thinking of a PR on Jupyter::Chatbook to put the use X Y Z list into a config setting / file | 14:13 | |
not ready to / needing to do that for a while though since I am up to my eyeballs in Cro | 14:14 | ||
antononcube | This would require a very streamlined inclusion of new magic cells. Similar to that in "IPython", but better. | 14:15 | |
librasteve | btw it's kind of nice to have all the LLM stuff there if needed and only costs a bit of install time | 14:16 | |
antononcube | That is one of the primary motivations! | ||
librasteve | so probably I'll just broaden my use of J::C as it is and pre-build some Docker images | ||
antononcube | Then I included MeraidInk, DeepL, and Wolfram|Alpha. | 14:17 | |
Again, most these are relatively simple "WWW::*" packages. | |||
librasteve | cool | 14:18 | |
antononcube | Except ""WWW::OpenAI" and "WWW::Gemini" -- have certain complicated logic. | ||
The most useful new feature of "Jupyter::Chatbook" -- related to what you suggest above -- is to have configurable LLM-chat personas. With, say, JSON file. (Or TOML or YAML.) | 14:19 | ||
We have discussed that before... | |||
I might implement that before- or around the New Year. | 14:20 | ||
ab5tract | antononcube: looks like you are getting a free Dockerfile revision with the repl fix :) | 14:24 | |
it looks like the `rakudo/daily` images stopped being updated early last year | 14:25 | ||
antononcube | 🙂 yeah, that would be nice. | ||
ab5tract | antononcube: do Jupyter::Chatbook tests pass cleanly for you with an older rakudo version? Because it seems that t/02-sandbox.t is failing for me with and without my changes | 15:10 | |
antononcube | Yes, they do. I have re-installed "Jupyter::Chatbook" multiple times for moar-2024.08 and moar-2024.09 while trying out the fixes. | 15:46 | |
ab5tract | ++ | 15:58 | |
I was hoping to fix it without any changes to Rakudo, but it looks like that's a requirement | 16:22 | ||
but there are still the free bonus Dockerfile adjustments :) | 16:23 | ||
antononcube | 👍 | ||
ab5tract | antononcube: rakudo.git @ 1bd183d400 should address the issue | 16:42 | |
linkable6 | (2024-12-20) github.com/rakudo/rakudo/commit/1bd183d400 Pick up repl-mode default fix in NQP | ||
ab5tract | now fully tested thanks to a new Dockerfile that builds rakudo from scratch | 17:19 | |
antononcube | Ok, great! I will try it out soon, today. | 18:46 | |
Geth | ecosystem/main: 4f921ad057 | (Elizabeth Mattijsen)++ | META.list Remove Business::CreditCard It lives on as a Raku Community module now |
19:04 | |
ecosystem/main: ef02d91c44 | (Elizabeth Mattijsen)++ | META.list Remove Cache::LRU This has basically been superseded by Hash::LRU |
19:48 | ||
ecosystem/main: 8f2cceea6e | (Elizabeth Mattijsen)++ | META.list Removed WebService::Google::PageRank The webservice used appears to have bitrotted |
19:57 | ||
21 Dec 2024 | |||
Xliff | \o | 08:09 | |
Is there a way to get raku to list its infix ops? | |||
m: say &infix:<+> | |||
camelia | &infix:<+> | ||
Xliff | Oh! CORE!~ | 08:12 | |
m: CORE::.keys.grep({ .starts-with("\&infix") }).gist.say | 08:14 | ||
camelia | (&infix:<gt> &infix:«<=>» &infix:<^…^> &infix:<unicmp> &infix:<≤> &infix:</> &infix:«>=» &infix:<and> &infix:<≠> &infix:<⚛=> &infix:<⩵> &infix:<before> &infix:<^..^> &infix:«(>=)» &infix:<**> &infix:<÷> &infix:<!~~> &infix:<⊎> &infi… | ||
antononcube | @ab5tract Brian Duggan figured out a (short) workaround, see : github.com/bduggan/raku-jupyter-ke...issues/115 | 08:50 | |
@ab5tract I also successfully tried out the Rakudo-HEAD Docker file you provided -- thanks! | 09:13 | ||
librasteve | wonders do these docker images get posted to hub.docker.com or similar? | 09:34 | |
antononcube | The one I referred to seems experimental -- I think @ab5tract made a change in Rakudo in order to make the chatbook evaluations work. | 09:38 |