Comments (7)
Hi @doggy8088
What do you mean?
It is already in since the very first commit.
See tests and there in particular the files GoogleAi_GeminiProVision_Should.cs and VertexAi_GeminiProVision_Should.cs
The only change needed is to specify the model: Model.GeminiProVision
and you are good to go.
Hint: See the type Model
which lists all model names supported by the package.
All other methods work as expected. Since release 0.9.0 there are compatibility methods for the older PaLM 2 models.
Please let me know what's missing and I'll look into it.
from generative-ai.
I see. I didn't realize that. It because I don't see any example in your README.
from generative-ai.
Dear @doggy8088
The README has been extended. Thanks for pointing this out.
from generative-ai.
@doggy8088 yes, that's what I did today. There's going to be a Generative Content Request.AddMedia
method with the next release that abstracts the handling of images. Probably tonight. Still writing the tests and checking against VertexAI. But it works with GoogleAI.
Bear with me...
from generative-ai.
Kindly look at the tests...
There is everything coded with examples. Every feature and functionality has a test.
from generative-ai.
@jochenkirstaetter Don't you consider let TestExtensions.ReadImageFileBase64Async
built-in to your library?
from generative-ai.
Nice to hear. 👍
from generative-ai.
Related Issues (20)
- The `_useHeaderApiKey` is always be `true` when using API Key auth. HOT 2
- Hints for possible Exceptions HOT 5
- Check for more FinishReason HOT 4
- `model.GetModel()` returned wrong `SupportedGenerationMethods` HOT 2
- A bug is found on `EmbedContentRequest` HOT 1
- Provide full context for the HttpRequestException HOT 6
- Feature suggestion: Retry mechanism HOT 8
- Assigning a API_KEY using model.ApiKey is not working HOT 3
- The `inheritdoc` XML comment can't appear in LINQPad HOT 1
- await model.ListFiles() get HTTP 403 (Forbidden) HOT 4
- Feature suggestion: create a Tool object from a C# method HOT 1
- Error while copying content to a stream HOT 2
- Exception thrown in Google App Engine HOT 3
- Discussion: Keep API interface consistent HOT 3
- The original usage seems broken: new GenerativeModel(...) HOT 4
- Feature suggestion: Add logs with LogLevel using the Standard logging in .NET HOT 11
- Unknown error due to some settings HOT 5
- SafetySettings can be easier and less error-prone. HOT 5
- Application Default Credentials (ADC) has been loaded automatically even I use API Key auth. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generative-ai.