wbsg-uni-mannheim / ExtractGPT

Attribute Value Extraction using Large Language Models
Apache License 2.0
21 stars 6 forks source link

ERROR: Directory 'pieutils/' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. #1

Closed rafiktelli closed 5 months ago

rafiktelli commented 5 months ago

Hello, I am trying to run the command : pip install /pieutils and I am getting this error. This may be caused because of the absence of a file pyproject.toml or setup.py. Thanks in advance.

abrinkmann commented 5 months ago

Hello @rafiktelli ,

Thanks for pointing us to this issue. The correct command to install pieutils is to run: pip install . The README file is adjusted accordingly.

Please let us know if you have any further problems running the code.

rafiktelli commented 5 months ago

Hello @abrinkmann, Thank you for your response. I am having another issue regarding the use of Azure OpenAI instead of a simple account of OpenAI. Do you have an idea about how to change the connection in this case? And can you tell me what openai plan you have used in this project. Thank you in advance.

abrinkmann commented 5 months ago

Hello @rafiktelli ,

Each python script contains an initialisation of the used LLM for example here. If you use Azure OpenAI, you have to initialize an Azure OpenAI model instead of an OpenAI model or an open-source model from the Huggingface hub.

We created a paid account on the OpenAI platform. Does this answer your question regarding the OpenAI plan?

rafiktelli commented 5 months ago

Yes it does. Thank you so much for your answers. I will try to change the script as you mentioned. I appreciate your help.