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

[Self-Hosted] Ask AI Feature Not Working on Self-Hosted Instance of ghcr.io/toeverything/affine-graphql:stable #7098

Open
1 task done
bulgarian-beast opened this issue May 28, 2024 · 13 comments

Comments

@bulgarian-beast
Copy link

What happened?

Hello,

I am currently using a self-hosted instance of ghcr.io/toeverything/affine-graphql:stable and have encountered an issue with the "Ask AI" feature, which does not seem to be functioning.

Steps to Reproduce:

Set up a self-hosted instance using the Docker image ghcr.io/toeverything/affine-graphql:stable.
Attempt to use the "Ask AI" feature.
Expected Behavior:
The "Ask AI" feature should be operational and respond appropriately.

Actual Behavior:
The "Ask AI" feature does not work. There are no responses or interactions when attempting to use it.

Suggestion:
It would be greatly beneficial to have documentation on how to set up the "Ask AI" feature for self-hosted instances using Docker environment variables. This would help users like myself ensure all necessary configurations are correctly implemented.

Thank you for your assistance and for providing a great tool.

Best regards,

Distribution version

macOS x64 (Intel)

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • Yes

Relevant log output

No response

Anything else?

No response

@affine-issue-bot
Copy link

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day.
Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

@xiaoxuan220
Copy link

Me too

@emengweb
Copy link

emengweb commented Jun 1, 2024

same here, need some env for custem OpenAI URL :D

@zoverdoser
Copy link

same here, need some env for custem OpenAI URL :D

+1

@1992leiting
Copy link

same here, need some env for custem OpenAI URL :D

+1

@mfortini
Copy link

+1

@SAnBlog
Copy link

SAnBlog commented Jul 1, 2024

+1

same here, need some env for custem OpenAI URL :D同样在这里,需要一些 env 用于 custem OpenAI URL :D

@cloudsbird
Copy link

+1

3 similar comments
@Macfee
Copy link

Macfee commented Jul 10, 2024

+1

@pespin123
Copy link

+1

@thearyadev
Copy link

+1

@ProfessorDey
Copy link

My issue #7497 covers how to set up the AI on local host for your own custom AI, to use your own OpenAI API key just do step 3 without adding baseURL and it should #justwork, lol.

If there's confusion as to why you can't use their own AI that they have on the cloud version, that's because they're specifically paying for their API key and you need to purchase your own from OpenAI to access their services. AFFiNE's decision to call their AI Copilot like microsoft's leads to some unnessicary confusion.

@emengweb
Copy link

emengweb commented Jul 15, 2024

My issue #7497 covers how to set up the AI on local host for your own custom AI, to use your own OpenAI API key just do step 3 without adding baseURL and it should #justwork, lol.

If there's confusion as to why you can't use their own AI that they have on the cloud version, that's because they're specifically paying for their API key and you need to purchase your own from OpenAI to access their services. AFFiNE's decision to call their AI Copilot like microsoft's leads to some unnessicary confusion.

It worked! Amazon!!!! Thanks for help! :D

Awesome! will try today! Thanks!

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

No branches or pull requests