Installing AI assistant 1.0

LO 25.2.2.2
AI installation problem
in writer or calc
AI assistant 1.0 is present in the Extensions
I’m using the author’s (Reyhane) instruction and i have contacted him
Win 11

I’m trying to use AI assistant 1.0 in libre office.
python 3.13 (latest stable) is installed
I have a chatGPT user KEY-AI
I have created the libreoffice\4\user\scripts\python subdir
get-pip.py has been run
-m pip install openai won’t run from a file or from the command prompt

What to do ???

The extensions are (mostly) third party softwares. Ask the author of the extension.

the extension comes half-installed in libre office already, check your extensions it’s the first one
instructions for actully using it are mumbled at best

??? What is a “half-inatalled” software?
Do you think extensions, provided at LibreOffice.org are written by TDF? Ask yourself, if anything you buy at Amazon is produced by Amazon? The extensions site is some kind of marketplace.
.

Usually I’d ask for your OS, but your use of \ hints some Windows.
Win7 will have some problems installing current python versions, but 10 and 11 should be possible.

in this version this is neither a command for python nor for pip.
.
But as you don’t tell how you try to run this (From where, wich current directory, PATH-settings) nor any error message there is not much to say about… I know I don’t like the typical settings of Powershell, so I’m still using old .BAT besides my Cygwin.

you’re on the right track

spell this out for me a bit clearer. I’m bringing up the ‘power shell’ by typing in ‘command prompt’
then following the authors installation instructions
what’s confuses me is he also has me doing get-pip.py from a file i have to create, i guess
I’ll post his instructions, maybe you can figure out how to walk me through this
tnx
eddie

On Windows, you should go to “System properties > Environment variables” to set the system-wide environment variable.

Furthermore, you have to install pip module and then openai module using pip. To do that, you should use PIP bootstrap. First, download this script:

https://bootstrap.pypa.io/get-pip.py

Then, use LibreOffice internal Python to run it:

program/python get-pip.py

After that, install openai module using pip:

program/python -m pip install openai

If the installation is successful, you should be able to use openai module inside LibreOffice internal Python, and run the AI assistant extension.

Homepage: User:Reyhane - The Document Foundation Wiki

Repository: User:Reyhane - The Document Foundation Wiki

win11
to clarify what i’m using

hi wanderer,
i’m on win11
see if you can figure it out.

tnx
eddie

these are instructions he gives

https://extensions.libreoffice.org/en/extensions/show/41988

here’s his instructions for something already installed in LO just like you said … lol

to: dizi64

are you just requoting me ???

what to do about people like you ???

Please read my hint, too. Now I repeat is here:
.
The extensions are (mostly) third party softwares. Ask the author of the extension.
And here is the diskussion page of the author:
https://wiki.documentfoundation.org/User_talk:Reyhane

Already did, i even said that in my original writeup.

Theres only errors being reported and he’s not responding to me or anybody else

The only reyhane i can find on github is reyhane ramini. She has no projects listed. I’ve contacted into@LOusers. we’ll see what they have

keep on it we’ll get it yet. I tried to write my own the the 9 lines one listed for python on the internet. that one fails and turns into a rant, not instructions. I hope we’re getting closer … it’s “fascinating”