Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashad001/golang-chain

api to chat with llama3 using groq
https://github.com/ashad001/golang-chain

api golang groq-api huggingface huggingface-spaces llama3 spaces

Last synced: 5 days ago
JSON representation

api to chat with llama3 using groq

Awesome Lists containing this project

README

        

# Go LangChain API

This is a Go-based API deployed on Hugging Face Spaces.

## How to Use

- Send a POST request to `/chat/` with the user query.

### Example System Prompt
```json
{
"prompt": "
Your answer should only be in JSON format with this format instruction and nothing else:
{
\"score\": ,
\"description\": \"\",
\"messages\": [
{
\"role\": \"\",
\"content\": \"\"
}
]
}
}
```
**NOTE**: You have to make sure user query is related to the prompt too for good results
s