OpenFn / OpenFn/adaptors

Add semantic analysis adaptor functions

Open
#1,065 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
24
Forks
41
Avg merge
3d 13h
Merged PRs (30d)
12

Description

We'd like to explore an Apollo adaptor/integration so that users can call out to specific services from workflows.

For me, the smaller, more controlled and more focused those services, the better.

So for example: filtering emails or grievences.

We could have an Apollo function like filter(data, criteria) to use AI to filter an array of items, orgroup(data, criteria, groups) to group an array into an object of arrays sorted by key.

Importantly, this stuff is good at inherently fuzzy searches. "Filter grievences by urgent ones" or "attach the best label to these emails". Not for "filter items where x is greater than 10" or "sort by this key".

This is run-time AI usage and absolutely has considerations from a responsible AI point of view.

Consider:

  • how API keys are set and passed (I guess that's just on the apollo credential?). Or, who pays for this? Is it part of your project's AI credits? Actually yes
  • whether the model can be swapped out
  • What models we might provide for this (I want to say the smaller the better I fear this isn't true)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the proposed filter(data, criteria) and group(data, criteria, groups) workflow functions described in the issue. Define what the adaptor must cover, including runtime AI usage, credentials or project credits, model swapping, supported models, and responsible-AI considerations; the issue is complete only when those design questions have a decided implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ai, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.