8000 GitHub - teorich/llm-assign
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

teorich/llm-assign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chat Application

Prerequisites

  • Docker
  • Docker Compose

Setup

  1. Clone the repository.
  2. Navigate to the project root.

Build and Run

docker-compose up --build

API ENDPOINTS

  1. Choose between Mistral or Llama2 for the model argurment
  2. Run the curl code below:
curl -X POST http://localhost:3000/conversations \
-H "Content-Type: application/json" \
-d '{
  "model": "Mistral",
  "prompt": "Tell me a joke",
  "userId": "user123"
}'
curl -X GET http://localhost:3000/conversations
curl -X GET http://localhost:3000/conversations/1
curl -X GET http://localhost:3000/conversations/user/user123

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0