-
Marcus Schiesser authoredMarcus Schiesser authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
README-template.md 1.12 KiB
This is a LlamaIndex project using Express bootstrapped with create-llama
.
Getting Started
First, install the dependencies:
npm install
Second, run the development server:
npm run dev
Then call the express API endpoint /api/chat
to see the result:
curl --location 'localhost:3000/api/chat' \
--header 'Content-Type: application/json' \
--data '{ "messages": [{ "role": "user", "content": "Hello" }] }'
You can start editing the API by modifying src/controllers/chat.controller.ts
. The endpoint auto-updates as you save the file.
Learn More
To learn more about LlamaIndex, take a look at the following resources:
- LlamaIndex Documentation - learn about LlamaIndex (Python features).
- LlamaIndexTS Documentation - learn about LlamaIndex (Typescript features).
You can check out the LlamaIndexTS GitHub repository - your feedback and contributions are welcome!