Find answers from the community

Updated 10 months ago

is there basten intergation langchain

is there basten intergation langchain isnt working for me

import requests

resp = requests.post(
"https://model-nwx4707q.api.baseten.co/production/predict",
headers={"Authorization": "Api-Key YOUR_API_KEY"},
json="MODEL_INPUT",
stream=True
)

for content in resp.iter_content():
print(content.decode("utf-8"), end="", flush=True)
L
D
3 comments
there is not, but you could just implement your own LLM class
@Logan M just follow the example?
Add a reply
Sign up and join the conversation on Discord