wejick / gochain Goto Github PK
View Code? Open in Web Editor NEWWe rename to gchain, you can find https://github.com/wejick/gchain
Home Page: https://github.com/wejick/gchain
License: Apache License 2.0
We rename to gchain, you can find https://github.com/wejick/gchain
Home Page: https://github.com/wejick/gchain
License: Apache License 2.0
On LangChain there is the kwargs
where it's passed from front to back, with the nature of Python's dynamic typing this kwargs
can be reused by many layers from agent, to chain until model.
However, to have an idiomatic Go developer experience, that model is not ideal. If we talk about the perfect way, it should use a functional option pattern.
Need more research on how this model will looks like.
Today vector store search function will still do vector based search to the database. Instead of having vector parameter, it has string based parameter which will be converted to vector later.
Is it better for search to do a nonvector search instead if applicable?
do we need an extra option for this? what will be the default behavior?
How about hybrid search?
As right now elasticsearch is still one of the most popular search engine, which happen also has decent support of vector search. Having it as datastore is very make sense step. In other side having Metada on it will be easier than on Weaviate which you need to know beforehand what are field to return.
In LangChain there's tracing functionality where we can see all the LLM invocation and use it to debug the implementation.
This functionality will be useful to have, however the API of langchain-server is opaque. I don't know where to get the source of it or any possibility to reuse it.
I would love to reuse any available tracer and UI, one idea is probably to use OpenTelemetry. I don't think it has proper UI for development need.
For implementation detail, we can use callback.
The current github action only test the unit test. need to investigate how to run the integration test on github action as well.
Need to investigate if elastic support dynamic dimension, if yes we may not need to do this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.