Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "/ai-story story" is missing and "/ai-story open-ai" doesn't work. #41

Open
rowanfreeman opened this issue Jan 24, 2023 · 2 comments

Comments

@rowanfreeman
Copy link

I successfully deployed the app using docker-compose -f "docker/deploy/docker-compose.yml" up -d.

In my .env, I have added OPEN_API_TOKEN = '[redacted]' which contains a valid API key from Open AI.

However, the command to run /ai-story story doesn't show up.

image

If I use /ai-story open-ai Give me a poem instead, I get the following error in my logs.

2023-01-24 16:52:06 [Nest] 32  - 01/24/2023, 5:52:06 AM   DEBUG [OpenAiCommand] /ai-story open-ai command called
2023-01-24 16:52:07 [Nest] 32  - 01/24/2023, 5:52:07 AM   DEBUG [AiStoryService] Generating Give me a poem in style text-davinci-002
2023-01-24 16:52:07 [Nest] 32  - 01/24/2023, 5:52:07 AM   ERROR [OpenAiCommand] Open-ai command failed with exception: Could not generate art "Give me a poem" based on AiStoryService in style "text-davinci-002"

The only command that reliably works is /ai-art wombo-dream.

@rowanfreeman
Copy link
Author

Would it have anything to do with the fact that the Open AI token in config.yml is ...?

@Abhidcruez
Copy link

@rowanfreeman Are able to deploy the bot are you getting npm error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants