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

[Bug]: Could you make 7.4.2 compatible i cant use without php 8 #15

Open
Razikale365 opened this issue May 22, 2023 · 5 comments
Open
Labels
bug Something isn't working

Comments

@Razikale365
Copy link

What happened?

cant install and run with php 7.4.2

How to reproduce the bug

try to install and run with php 7.4.2

Package Version

1

PHP Version

7.4.2

Which operating systems does with happen with?

Windows

Notes

that is i just want to know if the package could be made to run in older php versions

@Razikale365 Razikale365 added the bug Something isn't working label May 22, 2023
@Razikale365
Copy link
Author

Razikale365 commented May 22, 2023

manage to install with the command wsl cli
php /usr/local/bin/composer install --ignore-platform-reqs

and in the composer.json:

   "require": {
       "kambo/langchain": "0.2.0-alpha"
   },
       "config": {
          "platform": {
              "php": "7.4.2"
          }
       }
   
}

@frankchieng
Copy link

cuz chatgpt train data only before the year of 2021, how can i get the newest infos on web?i assume langchain is a propriate way to achieve this goal,can u implement using the php coding?

@dilab
Copy link

dilab commented Jun 9, 2023

@frankchieng you will have to implement the browsing feature by yourself.

@jianzhichun
Copy link

@Razikale365

@antoninobonumore
Copy link

PHP 7.4 is already at its EOL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants