eric-gardyn
eric-gardyn
I found a "hacky" way by getting the parameter from the 'request' object which is passed to the tool 'call' method, but it feels a little weird, no?
I was thinking I could get the CustomData (since it is already parsing the request and augmenting it with my own data)
my goal is to be able to retrieve user information that can be fed to the LLM
sure, it's quick-and-dirty, but straight-forward, just so I could get it up and running ``` import { RunTree } from 'langsmith' (...) async answerQuestionAwaited( { messages, toolCallOptions }: LlmAnswerQuestionParams, question:...
FWIW, I now have the 'ingest' running as an endpoint on an Azure function app (serverless function). Just had to tweak the 'loadConfig' method in WithConfig.ts (I am running the...
yes POST /ingest that takes an array of strings in body's argument. and basically just using withConfig like so: ``` const resp = await withConfig(doAllCommand, { doPagesCommand, config, sourceNames })...