Open shynsky opened 1 year ago
And I also have no clue what it is, someone needs to guide us here.
same problem here
LCC_ENDPOINT_URL - This refers to LANGCHAIN CHAT ENDPOINT - which is the backend code - that gets triggered based on the request from next JS. see api/chat.js -
const response = await fetch(process.env.LCC_ENDPOINT_URL, { method: "POST", headers: { "Content-Type": "application/json" }, body: output, });
This is the backend fetch URL - which can be implemented on your own or using https://github.com/hwchase17/chat-langchain
@SangeethaVenkatesan
Suppose one installs https://github.com/hwchase17/chat-langchain and runs it on the same machine. Then .env would be what?:
LCC_ENDPOINT_URL=?what?
LCC_TOKEN=?what?
Could someone provide a template/structure for the .env file? It seems like we need: LCC_ENDPOINT_URL and LCC_TOKEN which I don't know where to find.