Class: Llmclt::Request::NonStreaming
- Inherits:
-
Base
- Object
- Base
- Llmclt::Request::NonStreaming
show all
- Includes:
- Chat
- Defined in:
- lib/llmclt/request/non_streaming.rb
Instance Method Summary
collapse
Methods inherited from Base
#content, #initialize
Instance Method Details
#build_response(response) ⇒ Object
#endpoint_uri ⇒ Object
8
9
10
11
12
|
# File 'lib/llmclt/request/non_streaming.rb', line 8
def endpoint_uri
URI.parse(
"https://#{endpoint_host}/v1/projects/#{@config.project_id}/locations/#{@config.location_id}/publishers/google/models/#{@config.model}:generateContent"
)
end
|