Загрузка...

Program Theory v LLM reliance | Rust Language

"over-reliance on LLMs accelerates incompetence" ~ https://www.slater.dev/accelerated-incompetence/

In this video I pick out bits from the article, pretty much agree with it, and then discuss how not to fall into the trap of over reliance, and study some code that was generated by Claude to utilize an nvidia example originally provided in Python.

I describe the code, pick out some interesting concepts, adjust max tokens, temperature, stream = true, and ask the LLM to discuss trait bounds in Rust!

Not a tutorial, but still interesting I hope?

Why is the code using async?
- Reqwests is async by default
- without async we'd have to read the whole body in one go

Cow, TL;DR
It's an enum that allows you to return either:
A borrowed string: &'a str
An owned string: String

StreamExt
https://docs.rs/futures/latest/futures/stream/trait.StreamExt.html

#learningrust

Видео Program Theory v LLM reliance | Rust Language канала Learning Rust
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять