Trouble using spaCy LLM with OpenAI API #13612
Unanswered
PrithaSarkar
asked this question in
Help: Coding & Implementations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, community!
So, I have been trying to implement spaCy's LLM along with OpenAI's gpt-4.0-turbo model but running into some trouble. For more context, below is the config.cfg file
The python script I was using was importing
SpacyLLM
fromspacy_llm
. I was getting the following error at first:I re-installed
spacy_llm
, thinking that there might have been some problem during installation but that did not resolve the problem. I commented out the import but has been running into the following error now:Even though
@llm_tasks
is defined. I would like to initialise the task withspacy.LLM.v1
but have been running into problem. Could somebody please provide some clarity on the situation and what I might be doing wrong?Beta Was this translation helpful? Give feedback.
All reactions