Skip to content

Forum in maintenance, we will back soon 🙂

LLM generic functio...
 
Notifications
Clear all

LLM generic function

5 Posts
3 Users
1 Reactions
14 Views
(@stallone-s-j)
Posts: 1
New Member Customer
Topic starter
 

Getting Error in terminal

 Please assist 

 
Posted : 10/21/2023 11:29 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@stallone-s-j the problem with the llm.llm_generate_text not being defined is due to the GPT model you've used. If you look at the llm.py module you'll see that this is defined based on the model it is given.

The problem with the helpers module is that it has referenced itself on line 28 which is invalid.

HTH, feel free to schedule a 1-on-1 with me if you wish, calendar link is in the signature.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 10/21/2023 6:04 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

you are running the script inside the LLM MOdule itself. create a new file, and import llm there, then run your code.

 
Posted : 10/23/2023 3:47 am
Stallone S J reacted
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@admin how did you determine that? I see the picture showing execution of new.py.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 10/23/2023 4:32 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

@ssadvisor sorry, you are right. my screen was dark and I thought LLM is opened.

 
Posted : 10/24/2023 4:19 pm
Share:
[the_ad_group id="312"]