Comments (6)
i tried alias too.
import { LLMonitorHandler as LunaryHandler } from 'langchain/callbacks/handlers/llmonitor';
but it does not show "appId " attribute in LunaryHandler class.
which langchain version suited for this ?
from lunary.
Hi @SantoshKumarRavi
Sorry about that, we're still waiting on Langchain to merge the PR with the name update. We should have waited before updating the docs and will revert in the meantime.
The alias like you did should work. Might be a typescript error, otherwise does setting LLMONITOR_APP_ID
as an env variable work ?
from lunary.
thanks for the quick reply @vincelwt
I got llmonitor not found error, and i installed llmonitor manually with npm. now this error gone.
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'llmonitor' imported from D:\chatGPT-Max-Prototype\node_modules\@langchain\community\dist\callbacks\handlers\llmonitor.js
at packageResolve (node:internal/modules/esm/resolve:844:9)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
from lunary.
i will check with each user analytics
from lunary.
i am able to see my user usage in dash board .
is there any api for getting each user usage separately like if i pass userID, i will get those user result ?
@vincelwt i saw the docs. i think it is not there .
from lunary.
Hi! Sorry for the delay.
The correct way to import for langchain now is like this with the latest version of the lunary
nom module:
import { LunaryHandler } from "lunary/langchain"
We currently don't have an ability to filter by user id directly in the API but it's coming very soon! Thanks
from lunary.
Related Issues (20)
- Streaming Mode with openai package cause LLMonitor to throw error HOT 1
- Sorry to be that guy... *types*? HOT 3
- Should't this be DATABASE_URL? HOT 3
- Unable to create local deployment HOT 2
- Server-side error with vercel 'ai' npm package HOT 6
- relation "tag_cache" does not exist - relation "model_name_cache" does not exist HOT 3
- getting started to run locally - errors with npm run dev HOT 12
- 404 on Ops Submodule HOT 1
- instance of BaseCallbackHandler expected HOT 1
- Confused about the Self-Hosted Community tier HOT 1
- Self hosting errors HOT 1
- Errors while self hosting HOT 3
- Source of benchmark page HOT 1
- Feature: Adding tags via langchain calls HOT 5
- Self hosted: High db usage while idle HOT 4
- Best way to trace cached LLM and tool calls HOT 21
- Tags not displaying in tools traces HOT 4
- frontend env variable HOT 2
- Deleted
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 lunary.