Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1753

Extensions in Development • Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

$
0
0
I've done a couple of hours of testing and trying everything in the guides and this topic that may solve it, but in my forum I can't get it to work (yet)...

I get this when I post:
ailabs_post.png
(always thinking)

and this in the log:
AILabs_Log.png
However, when I run a command manually like this:

Code:

https://my-website-name/my-forum-folder/app.php/ailabs/chatgpt?job_id=14
This comes back nicely:"

Code:

{    "start": "2024-02-22 08:11:49",    "history.pattern": "/<QUOTE\\sauthor=\"ChatGPT\"\\spost_id=\"(.*)\"\\stime=\"(.*)\"\\suser_id=\"12793\">/",    "request.messages": [        {            "role": "user",            "content": "Tell me something short and random to stimulate the creative mind"        }    ],    "response": {        "id": "chatcmpl-8v5xm7hvLBUSp5yX3ytetCeJOCMeU",        "object": "chat.completion",        "created": 1708618310,        "model": "gpt-3.5-turbo-0125",        "choices": [            {                "index": 0,                "message": {                    "role": "assistant",                    "content": "The moon whispered secrets to the stars, sparking a symphony of dreams in the night sky."                },                "logprobs": null,                "finish_reason": "stop"            }        ],        "usage": {            "prompt_tokens": 18,            "completion_tokens": 19,            "total_tokens": 37        },        "system_fingerprint": "fp_cbdb91ce3f"    },    "response.codes": [        200    ],    "finish": "2024-02-22 08:11:50"}
And the reply appears in the forum, I get a nice desktop notification etc, everything works.

Any idea how to sort this out? I don't mind hardcoding a path at all but I'm not a developer so a little pointer would be much appreciated...

Thank you! This is one exciting extension! :)

Statistics: Posted by nou nou — Thu Feb 22, 2024 4:35 pm



Viewing all articles
Browse latest Browse all 1753

Trending Articles