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
wouters_f → created an issue.
This issue was a conflict between the ai core module and the ai_deepchat module (both installed , both block configued).
marcus_johansson → credited wouters_f → .
marcus_johansson → credited wouters_f → .
bramdriesen → credited wouters_f → .
wouters_f → created an issue.
wouters_f → created an issue.
Deployed in https://www.drupal.org/project/ai_image →
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.
wouters_f → changed the visibility of the branch 3473680-ai_content-use-taxonomy to hidden.
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.
Should we close this then?
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.
wouters_f → changed the visibility of the branch 3487199-maintenance-mode-agent to hidden.
updated with commits from 1.0.x
Also, check this slach thread, where someone is working on a prompt management system
https://drupal.slack.com/archives/CDL2YPBNX/p1730717913937529
I agree! In the ai_translate, ai_ckeditor and ai_content_suggestions submodules the prompts are config (at least after these issues)
- https://www.drupal.org/project/ai/issues/3493534 ✨ Allow admin of prompts in ai_ckeditor Active
- 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.
Please review
wouters_f → created an issue.
Tested each feature with the configurable prompt.
Please review
Added form fields to have the prompts editable in the backend
wouters_f → created an issue.
pjonckiere → credited wouters_f → .
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?
borisson_ → credited wouters_f → .
borisson_ → credited wouters_f → .
Maybe we should archive this?
wouters_f → created an issue.
wouters_f → changed the visibility of the branch 3485807-hackaton-europa-readbility to hidden.
pjonckiere → credited wouters_f → .
wouters_f → created an issue.
Ah yes I forgot. I'll redo it in the new system. Will close this one.
wouters_f → created an issue.
Looks better. THanks!
wouters_f → created an issue.
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
Please review.
wouters_f → created an issue.
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.
wouters_f → created an issue.
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.
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.
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!
wouters_f → created an issue.
marcus_johansson → credited wouters_f → .
wouters_f → created an issue.
wouters_f → created an issue.
wouters_f → created an issue.
wouters_f → created an issue.
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.
wouters_f → created an issue.
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.
We're going to look into this! Thanks already for even taking this into account!
All good! I like it better like this too.
I was here too on the AI panel. Thanks!
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).
wouters_f → changed the visibility of the branch 3476186-aickeditor-no-response to hidden.
I think we can close it for now and we'll improve it while we're at it?
I can not reproduce this.
fishfree / gaurav.kapoor can you test if this fixes it for you?
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.
wouters_f → changed the visibility of the branch 3473232-translate-more-flex-v4 to hidden.
wouters_f → created an issue.
Have you had time to look at this yet?
wouters_f → created an issue.
wouters_f → created an issue.
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
@sir, will you close the issue then?
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
Yes absolutely!
I will ask the team where we can fit in this link
wouters_f → created an issue.
oops duplicate.
sorry!
https://www.drupal.org/project/metatag_ai/issues/3464028
✨
Should use the AI module under the hood
Active
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
wouters_f → created an issue.