5fde27b70d
Allow using system instructions
2024-04-19 18:23:17 +01:00
3d298fabbc
Allow user to choose a conversation model
2024-04-18 15:36:26 +01:00
8b94651a84
Makes candidate content optional
2024-04-17 13:32:54 +01:00
64a3f0e2c1
Add response mime type to GenerationConfig
2024-04-17 12:00:49 +01:00
0e219aded0
Make text embedding title optional
...
- Make text embedding title optional, as sending it causes erros
on tasks that don't support title, like CLASSIFICATION.
- Update dependencies
2024-04-15 11:11:18 +01:00
5de4a96d33
Makes start_index and end_index optional in Citations
2024-03-01 14:06:12 +00:00
1c0aaf57b3
Allows different models for text-embedding
2024-03-01 13:45:26 +00:00
d7f041fa95
Better error logging
2024-03-01 13:40:02 +00:00
8e9a186ba9
Adds a count_token methods to the Gemini Clent
2024-02-29 19:48:42 +00:00
f2da435af8
Makes Error details optional
...
- Makes Error details option, as many types don't return the field.
- Removes dangling println statement.
2024-02-29 12:36:20 +00:00
c538d915e5
Make fields from TextEmbeddingResult and TextEmbeddingStatistics public
2024-02-28 14:49:34 +00:00
627ce368b4
Add the text_embeddings API
2024-02-28 14:03:30 +00:00
b8f2b7e85e
Refactor types into separate files
2024-02-23 18:25:32 +00:00
93285e53dd
Updates client to use the generateContent endpoint when not streaming
2024-02-23 14:42:51 +00:00
83335e65dc
Adds streaming content
2024-02-16 21:36:08 +00:00
cc78aea3ff
Make Dialogue serializable
2024-02-07 20:20:51 +00:00
5ab9f353bc
Rename client and refactors dialog
2024-02-07 20:19:11 +00:00
4f49ec8478
Make Citation uri Optional
2024-02-07 14:01:23 +00:00
16cec6fd09
Makes the candidate metadata optional
2024-02-07 13:38:55 +00:00
ee7dcd4df4
Refactors ResponseChunk to use enums
2024-02-07 08:14:43 +00:00
8c42901ddf
Deserialization and error handling improvements
2024-02-07 07:43:11 +00:00
450fe84d8b
Improves error handling
2024-02-06 21:23:04 +00:00
67c6ba878b
Add base code and examples for the Vertex API
...
- Add base code for the Vertex API with types and a client with helper
methods for prompting text and conversation.
- Add examples for prompting text and conversation.
2024-02-06 20:50:36 +00:00
995d2537b9
Initial commit
2024-02-06 19:16:20 +00:00