Comments (2)
@micol-altomare you might enjoy this one 😄
from openadapt.
@abrichr Briefly, LangChain enhances LLMs (using OpenAI API, Hugging Face, etc.) by being able to connect them to source data (that's stored as vector embeddings, such as with the Pinecone API). We can also take advantage of two significant features: chaining and prompt templates.
The source data could take the form of:
- patient data, health records, booking calendar (in a text format, related to #77)
- bylaws, affidavits, other court documents (for law/policy researchers)
- (keyboard) events from OpenAdapt (still exploring this)
LangChain's LLM could then interface with OpenAdapt in several ways:
1. (The user's source data and) LLM prompts informs the next workflow
Usecase example: a) connecting the LLM to a physician's entire database, b) asking the LLM to list which patients to see next based on outstanding treatment needs, last visit, etc., c) using OpenAdapt to book each patient, produce automated calls/emails to confirm appointments
Example: ask the LLM to choose what's the best workflow from a set of workflows
2. The workflow informs a) the prompt template itself; or b) the dynamic inputs
Example: LLM input -> perform a workflow that achieves a certain output -> use that output to inform LLM input for the next workflow
3. Asking LangChain to modify an existing workflow (eg. make the workflow more efficient)
Implementation:
- after importing LangChain, this documentation (https://python.langchain.com/en/latest/modules/prompts/prompt_templates/getting_started.html) will allow us to generate output from a prompt (and create templates) which would then be passed as the prompt to inform OpenAdapt's next workflow
My biggest considerations for LangChain use:
- Scalability: Is it limited by the use of user-specific source data?
from openadapt.
Related Issues (20)
- Implement Reka Core adapter
- Implement NanoLLM completion adapter
- Implement NanoLLaVA completion adapter
- Implement Autodistill
- Support winget HOT 1
- [Bug]: manual installation on Windows fails on `poetry shell`
- please make docker type installation for ease. HOT 2
- please add python3.12 support HOT 2
- please add install instructions for linux on the `https://openadapt.ai/#start` page HOT 2
- [Bug]: from matplotlib._path import ( ImportError: DLL load failed while importing _path: The specified module could not be found.
- Regarding the warning and the GUI not visible
- Implement prettier for dashboard
- Implement MiniCPM-V-2
- [Bug]: fix notification icons
- Trigger replay programmatically
- Evaluate on OSWorld
- [Bug]: `poetry run install-dashboard` generates warning
- Refactor RecordProc and related
- Automatically lint dashboard
- [Bug]: replay from system tray
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openadapt.