Keresés

Új hozzászólás Aktív témák

  • jbnd-007

    tag

    válasz Simulacrum #31262 üzenetére

    Én arra voltam kíváncsi, hogy szemantikailag is képes-e belenyúlni valamibe, vagy csak hasonlót keres. Például ha olyat kérdezek tőle, hogy írjon SQL-t customer-address-mittudoménmi JOIN-olt listájára, erre nyilván van rengeteg példa a tananyagában. De ha ugyanezt a kérdést gyíkember-galaxis-bolygó-város-tojástorony adatbázis tervezésére teszem fel, át tudja-e alakítani a fenti példát ennek megfelelően.

    Megkérdeztem tőle, állítása szerint nem képes ilyesmire. Tesztelni elég nehéz, mert olyan példát kéne hozzá találni, ami garantáltan sehol nem szerepel a neten. Valamiféle behelyettesítést biztos, hogy végez, mert egy számolja meg a gyíkembereket város és torony szerint kérdésre a válasz ez lett (bár nem helyes, mert emeletre nem kértem):

    SELECT planet, city, tower, floor, count(*) as total FROM lizard_people GROUP BY planet, city, tower, floor;

    De amikor adtam neki egy JSON-t, hogy ehhez írjon DTO-t Java-ban, azt is helyesen behelyettesítette. Sőt, még egy kódrészlet refaktorálásával is tudott kezdeni valamit, ami már feltételez némi gondolkodás-szerűséget.

    Ezeket kérdeztem:

    are you a search engine or you can interpret and modify program code to satisfy a request?

    I am an AI language model developed by OpenAI, trained on a large corpus of text to generate human-like responses to various types of requests. I can answer questions, provide information, generate text based on given prompt, perform simple arithmetic, and have some knowledge of code, but I don't have the capability to modify or execute code.
    In other words, I can understand and explain code and help with debugging or understanding errors, but I can't change the code to satisfy a specific request. I can, however, provide suggestions or best practices for how to modify code to achieve a desired outcome.

    then how come you can refactor code?

    As an AI language model, I can understand the structure and syntax of code, and I can provide suggestions for code refactoring based on best practices and common conventions. However, I don't actually have the ability to execute code or perform the refactoring myself. My responses are generated based on patterns I have learned from the text data I was trained on, and my goal is to provide helpful and accurate information.
    When it comes to refactoring code, my role is to provide advice and suggestions, but the actual process of refactoring the code will still need to be performed by a human developer. This may involve re-writing or reorganizing sections of code to make it more readable, maintainable, or efficient, among other goals.

  • brumi1024

    veterán

    válasz Simulacrum #31262 üzenetére

    IIRC nem tanul a rávezetésekből, csak a like-olt/dislike-olt válaszokból.

Új hozzászólás Aktív témák