Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ashad001/golang-chain
- Owner: Ashad001
- License: mit
- Created: 2024-06-11T13:25:08.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T07:42:45.000Z (5 months ago)
- Last Synced: 2024-11-08T21:02:52.930Z (7 days ago)
- Topics: api, golang, groq-api, huggingface, huggingface-spaces, llama3, spaces
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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