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

Instructions to setup oobabooga backend #22

Open
albertopirillo opened this issue Jan 22, 2024 · 2 comments
Open

Instructions to setup oobabooga backend #22

albertopirillo opened this issue Jan 22, 2024 · 2 comments

Comments

@albertopirillo
Copy link

It seems that, even if not mentioned everywhere in the readme, oobabooga support was added in #13 by @kabachuha.
Apparently you guys managed to get it working (correct me if I am wrong), but unfortunately I cannot.

Could you provide some instructions to link obsidian-companion with text generation webui?
I have a working setup of oobabooga with a model loaded which I can use to chat.
I have started the OpenAI-compatible oobabooga API with the flags --api --listen.

However, I do not understand how to configure the Companion from Obsidian settings.
I have already tried with multiple IPs into the API URL field, but none seems to work.

@Alexandrsv
Copy link

Alexandrsv commented Feb 5, 2024

oobabooga integration is boken

image

@albertopirillo
Copy link
Author

Yes, and that's because HTTP requests are being sent to incorrect URLs.
Take a look at this code, which is supposed to retrieve completions from the oobabooga API.
The URLs are way different from the ones in the oobabooga's API guide.
Maybe they were made for an older version and were never updated.

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