Open krrishdholakia opened 12 months ago
Same for vertex ai
So you want to add here, context and examples are used from the init right?
@krrishdholakia can you look for my pr for the issue https://github.com/BerriAI/litellm/pull/3718
@krrishdholakia / @ishaan-jaff fixes for #3718.
request_payload = {
"context": "This is a test context.",
"messages": [
{"author": "user", "content": "User message 1."},
{"author": "system", "content": "System message 1."},
{"author": "user", "content": "User message 2."}
],
"temperature": 0.7,
"candidate_count": 1,
"top_k": 40,
"top_p": 0.9,
"max_output_tokens": 100
}
'''
The Feature
Palm allows this via 'context' and 'messages'. Allow this instead of passing the input in as 'prompt'.
Motivation, pitch
Improve the palm api support.
Twitter / LinkedIn details
No response