ai-smartfuse-framework's People
Forkers
aubreylea happybugme burkesoft pedegree lamexlamer tatacomb mdxlvii bytesick yousefkl suevip1 joontju wp-jackliuai-smartfuse-framework's Issues
目前API Key 是固定在 Client当中的,要使其变成可配置的。
例如:对于链路模式的 ConversationalChain 和 ConversationalRetrievalChain 而言,可通过配置化的方式支持 API key 的设置。传入一个list,其中具有 >= 1 个key ,让其与 AI-java项目的 Key 获取策略连通。
各类工具的接入
例如:定义好一个书本类,询问模型今年热门书籍有哪些,将书本类的熟悉发送给模型,让模型返回JSON格式的数据,并进行JSON to Bean 的转换。
注意:这一个流程对用户而言应当是无感知的,可以考虑通过注解来标识。
链路模式的实现
可让不同厂商不同类型的模型,在同一条链路上相互合作,类似于一条链表,上一个节点的输出结果作为下一个节点的输入参数。从而达到一条链路完整的实现某一个功能。
通过注解的方式优雅的实现人机交互
通过注解的方式将某个字符串包装成AssistantMessage、UserMessage、SystemMessage,并能够通过代理来通过接口来实现对话。
实现历史消息记录器(内存版本 & 磁盘版本)
与模型进行交互时,上下文信息也会影响模型的回答质量。我们希望将用户与模型交互的信息记录下来,同步到内存或者磁盘当中。
内存当中存放少量的聊天内容,可让用户自由配置存储的信息条数。底层设计应当通用灵活。
磁盘当中可由用户自定义存储方式,不管是mysql还是redis,适当拓展其他的存储介质。
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.