how can i extract the text here? in php?…
Jump to turn (7)
- 1how can i extract the text here? in php? {"id":"cmpl-6WZwwcu11Ng1FnYijASoOylBgG7
- 2it s not working for me, .... and what does the scalar mean here : VARDUMP: stdC
- 3but how did the scalar keyword get there in the first place, when the jsonObject
- 4i need a regex replace for this $prompt = str\ireplace('Thema','Unterrichtsfach'
- 5but i want that it replaces "Das Lernthema ist Mathematik" with "das Lernunterri
- 6it s not what i meant, i mean that the replacements shall take place except for
- 7will it work like this as well: replacing all thema, but never mathematics etc.?
- User
how can i extract the text here? in php? {"id":"cmpl-6WZwwcu11Ng1FnYijASoOylBgG7E9","object":"text_completion","created":1673222706,"model":"text-davinci-003","choices":[{"text":"\n\nACG, Darstellende Geometrie, #EXPL# ACG ist die Abkürzung für das Fach „Darstellende Geometrie“, welches im Rahmen des Unterrichts in der 7ten Klasse einer AHS (Allgemeinbildende Höhere Schule) in Österreich durchgenommen wird. Es umfasst das Erlernen, Verstehen und Anwenden von geometrischen Grundlagen, Formen und Ordnungen.","index":0,"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":480,"completion_tokens":131,"total_tokens":611}}
response type of aiResObj = object VARDUMP: stdClass Object ( [scalar] =>