-
Notifications
You must be signed in to change notification settings - Fork 70
Added Go Server #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Go Server #17
Conversation
priankakariat
commented
Oct 4, 2024
- Added Go Server
- Updated README to include instructions for Go server
Added manual go installation instructions
Added link for manual Go installation
| } | ||
|
|
||
| // part is a piece of model content. It can hold only text pieces. Each item in the `Parts` of a | ||
| // JSON-encoded content in a history array must comply to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite understand this, but it seems important: "Each item in the Parts of a
// JSON-encoded content in a history array must comply to it." Can you maybe clarify or rephrase?
| // - chat: string | ||
| // - history: [] | ||
| // | ||
| // Returns a JSON payload containing the model response with the following format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not actually returning anything, right? It's writing the response to http.ResponseWriter. Consider clarifying the comment.