HuggingFace support, or other service

Created on 6 June 2024, 6 months ago
Updated 7 June 2024, 6 months ago

Problem/Motivation

This looks amazing, thanks! I just saw Auto-generating a web component end to end in Drupal using AI and it looks really impressive.

Steps to reproduce

It looks like OpenAI is used. I wonder if it would be possible to add support via HuggingFace, or another "free'er" service?

If it's too heavily dependent on OpenAI, nevermind -- but I thought I would ask, in case it was possible.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Component

Code

Created by

🇩🇰Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ressa
  • 🇩🇪Germany marcus_johansson

    So firstly, this is very experimental and I haven't worked on it for a while and probably will not do it until the experience manager has evolved enough to have plugin systems. It was just to showcase to the people behind the experience manager why they should have a thought about AI as well while building it.

    With that being said I'm in contact with seogow who has started on an abstraction layers for LLM's and will meet him today. Its available here: https://www.drupal.org/project/llm_provider

    We will see if it makes sense to focus efforts on this first and then basically for all the stuff I make there will be a AI Interpolator LLM or in this case you can plug any image-to-text model.

    Though outside of OpenAI gpt-4o and Anthropic Claude 3, I doubt any model at the current date will create any type of ok results.

  • 🇩🇰Denmark ressa Copenhagen

    Thanks for clarifying, it's great that you guys are discussing co-operation. In case other services than OpenAI or Anthropic starts offering this, maybe we can leave this issue as active? Or if you prefer a clean issue queue, feel free to close it as works as designed. It can always be reopened, if anything changes.

Production build 0.71.5 2024