Leuven
Account created on 12 February 2010, almost 15 years ago
#

Merge Requests

More

Recent comments

🇧🇪Belgium wouters_f Leuven

ok tested with config for the button.
Sole thing im not sure how to add is the config that checks the box by defaul (its defaulted to work, but only the config not yet).
phpcs fix also in the pipe

🇧🇪Belgium wouters_f Leuven

wouters_f created an issue.

🇧🇪Belgium wouters_f Leuven

This issue was a conflict between the ai core module and the ai_deepchat module (both installed , both block configued).

🇧🇪Belgium wouters_f Leuven

The pipeline fails because of pipeline reasons (outside of the code in the MR).
Apart from that I've tested it and the standards are ok and all that.

🇧🇪Belgium wouters_f Leuven

wouters_f changed the visibility of the branch 3473680-ai_content-use-taxonomy to hidden.

🇧🇪Belgium wouters_f Leuven

Rewrote the code (was built on the old module structure).
now takes into account a similar setup as in issue https://git.drupalcode.org/project/ai/-/merge_requests/332/diffs#87e6fc0...

so that the plugins can override the submit handler and provide default config.

🇧🇪Belgium wouters_f Leuven

Should we close this then?

🇧🇪Belgium wouters_f Leuven

Pipeline is now green.

I just wanted to see how hard it was to add one.
if you don't want it in, also good.
I do feel that we should expose as much admin actions as possible however, otherwise the bot will feel like a less capable version of the admin interface and it will feel not as powerfull. Just my thoughts.

🇧🇪Belgium wouters_f Leuven

wouters_f changed the visibility of the branch 3487199-maintenance-mode-agent to hidden.

🇧🇪Belgium wouters_f Leuven

updated with commits from 1.0.x

🇧🇪Belgium wouters_f Leuven

Also, check this slach thread, where someone is working on a prompt management system
https://drupal.slack.com/archives/CDL2YPBNX/p1730717913937529

🇧🇪Belgium wouters_f Leuven

I agree! In the ai_translate, ai_ckeditor and ai_content_suggestions submodules the prompts are config (at least after these issues)

  1. https://www.drupal.org/project/ai/issues/3493534 Allow admin of prompts in ai_ckeditor Active
  2. https://www.drupal.org/project/ai/issues/3493510 allow administration of prompts in ai_content_suggestions Active

these issues would be happy with a review!
I would like to add token power to this, so the tone of voice could be a token that can be injected in every prompt (if needed).

I do think we would need a place to manage them centrally, and the config for these submodules is not the right place.
This kind of entity that can be exposed as tokens would be valueable and reusable.
Using the power of Drupal it might even be a Content type or entity type (something with a field)

For a client I created a very simple https://www.drupal.org/project/usage/ai_prompt_mgmt where all this config is in one place but that's absolutely not sufficient.

Token management in other RAG systems (e.g Danswer) is just a number of textareas where you can put (and name) prompts that you whish to reuse.

Not really an answer to your question,
but everything is moving so fast right now, and we can use all help there is.
If you have a good idea on how to manage the promts everywhere, do the suggestion (here) and let's discuss on #ai on slack.
Any help is much appreciated.

🇧🇪Belgium wouters_f Leuven

Tested each feature with the configurable prompt.
Please review

🇧🇪Belgium wouters_f Leuven

Added form fields to have the prompts editable in the backend

🇧🇪Belgium wouters_f Leuven

In the past I experimented with this simple js one just some html to make it look nice.

I really like the idea of using a framework, a tool that is dedicated to this.
it will be better qua accessibility, usability, it'll probably have more options too.
It might be a little harder to start working on it as a developer, another tool with it's quirks (sometimes) and limitations.

From what I read going developer focussed with deepchat and the fact it's already there seems to pull me towards that one first.
(the styling might need a little work to fit in Drupal but that can be done later.

One question: Would they require a js server or something to setup websocket connections? How would that work (or would it use rest )?
Another question: how would that work cross window?
Is there one session (and all windows in the session are updated) - where I think you want to go at some point (or not?)
or is it one session per browser window (and you can have X windows/sessions open) - the way it is now?

🇧🇪Belgium wouters_f Leuven

Maybe we should archive this?

🇧🇪Belgium wouters_f Leuven

wouters_f changed the visibility of the branch 3485807-hackaton-europa-readbility to hidden.

🇧🇪Belgium wouters_f Leuven

Ah yes I forgot. I'll redo it in the new system. Will close this one.

🇧🇪Belgium wouters_f Leuven

I had a working setup (contrib, no custom code) with the bedrock module and mistral selected as chat LLM.
I think after the Hackathon they removed the access or tokens and now it became invalid or something?

I have uninstalled the module so I guess my config will be gone.
(this was my local development setup, i don't have this running in production or something).
I'm sorry

🇧🇪Belgium wouters_f Leuven

I've tried this too and not gotten it to work.
I also noticed blocks also have the translate links but they give an error when clicking on the button.

🇧🇪Belgium wouters_f Leuven

I was thinking about this.
Now we show all the ai models in the dropdown, even the ones you did not request/have access to.

It would be super practical to have a status page in the bedrock module that contains a table that has the following data:

AI model name| Access to the model (green checkbox or red cross

And a link on top or below the table to the amazon page where you can request the access to the model.

🇧🇪Belgium wouters_f Leuven

Awesome!
When you finish, ping me on drupal slack or message me on this issue, because then I'll add you to the list of modules on the AI module page.
Thanks!
If you need help, you can always ask in the #ai channel on slack or on the AI module issue queue.

🇧🇪Belgium wouters_f Leuven

That is awesome!
Ping me on drupal slack when it's done, because once it's on the AI ecosystem I'll add you to the list of supported modules on the ai module page.
Thanks!

🇧🇪Belgium wouters_f Leuven

this is already under development in https://www.drupal.org/project/ai_tmgmt .
I'm going to change the scope of this issue to add ai_tmgmt to the list of providers.

Please add it like so: Ai module (D8, D9, D10, D11) but add somrthing like "supports openai/mistral/groq/deepl/ollama/..."
To make it clear to the user that they can use multiple ai providers trough this module.

🇧🇪Belgium wouters_f Leuven

I will check this in more detail tonight.
Have you configured the settings of the ai_translate module?
I think this might be related to it not being configured yet, not sure yet.

🇧🇪Belgium wouters_f Leuven

We're going to look into this! Thanks already for even taking this into account!

🇧🇪Belgium wouters_f Leuven

I was here too on the AI panel. Thanks!

🇧🇪Belgium wouters_f Leuven

The code you suggested gives me this:
Error: Call to undefined method Drupal\provider_openai\OpenAiChatMessageIterator::getText() in Drupal\ai_ckeditor\Controller\AiRequest->doRequest() (line 175 of /var/www/html/web/modules/contrib/ai/modules/ai_ckeditor/src/Controller/AiRequest.php).

🇧🇪Belgium wouters_f Leuven

wouters_f changed the visibility of the branch 3476186-aickeditor-no-response to hidden.

🇧🇪Belgium wouters_f Leuven

I think we can close it for now and we'll improve it while we're at it?

🇧🇪Belgium wouters_f Leuven

fishfree / gaurav.kapoor can you test if this fixes it for you?

🇧🇪Belgium wouters_f Leuven

I was able to replicate this.
It now defaulted to streaming output and the mistral provider for some reason does not do this.
I have made a fix.

🇧🇪Belgium wouters_f Leuven

wouters_f changed the visibility of the branch 3473232-translate-more-flex-v4 to hidden.

🇧🇪Belgium wouters_f Leuven

Have you had time to look at this yet?

🇧🇪Belgium wouters_f Leuven

1 Rebased and checked all merge conflicts.
2 Re-tested (with openai and Mistral
Tested the following
- settings screen (als entity reference settings as the form is now TREE structure which resulted in that setting not working)
- actual translation (which now uses batch)
tested with
- openai
- mistral

🇧🇪Belgium wouters_f Leuven

@sir, will you close the issue then?

🇧🇪Belgium wouters_f Leuven

Thanks for your feedback sir clickalot!
I totally agree on that we should make it as obvious as possible.
Feel free to help document things too.
Any helpfull addition in the README's is also warmly welcomed!
our docs folder (readme's from the module and submodules) needs a lot of love!
https://git.drupalcode.org/project/ai/-/tree/1.0.x/docs

🇧🇪Belgium wouters_f Leuven

Yes absolutely!
I will ask the team where we can fit in this link

🇧🇪Belgium wouters_f Leuven

oops duplicate.
sorry!
https://www.drupal.org/project/metatag_ai/issues/3464028 Should use the AI module under the hood Active

🇧🇪Belgium wouters_f Leuven

Oops i made a duplicate.
sorry
https://www.drupal.org/project/ai_translate_textfield/issues/3460682 please use drupal AI module for AI providers Active

Production build 0.71.5 2024