🇩🇪Germany @netvidual

Account created on 9 July 2010, over 14 years ago
#

Recent comments

🇩🇪Germany netvidual

Yes, can be closed. Thanks again for your help.

🇩🇪Germany netvidual

Thanks to both of you, worked fine :-)
Will try to adapt the config for lando aswell and post it here for refrence if successful.

🇩🇪Germany netvidual

I'm having similar errors when using a local network LLM Service configured with LmStudioProvider:

TypeError: array_map(): Argument #2 ($array) must be of type array, null given in array_map() (line 51 of /var/www/html/vendor/openai-php/client/src/Responses/Chat/CreateResponse.php).
OpenAI\Responses\Chat\CreateResponse::from(Array, Object) (Line: 35)
OpenAI\Resources\Chat->create(Array) (Line: 225)
Drupal\provider_lmstudio\Plugin\AiProvider\LmStudioProvider->chat(Object, 'multilingual-e5-large', Array)

It is working for embedding via search api to vector db, the error only appears for Chat.

Would appreciate some ideas how to debug. Could it be a timeout, if the response time is maybe to long?

🇩🇪Germany netvidual

https://www.drupal.org/project/ai/issues/3470030 🐛 When adding assistant the provider config form is empty resulting to an error Needs review

I'm basically trying the same right now, but can't manage to get it working with lando.
I've tried to two approaches:

  • creating a working Milvus and Attu by using a suitable docker-compose.yml and tried to connect it with my drupal lando via docker bridge
  • created the services with type: compose inside lando

The first approach looks promising, but the Miluvs provider backend can't connect to Milvus
The second one doesn't work, because the containers are exiting a few seconds after beeing created.

Would love if you can share some insights.

Thank you

Production build 0.71.5 2024