- 62
- 188 945
Anto Subash
Austria
Приєднався 21 гру 2011
My personal channel.
Ollama Semantic Kernel Connector With C#: Console App & API Guide
In this post, we'll explore how to integrate the Ollama Semantic Kernel Connector with C#, demonstrating two practical implementations: a Console Application and a Minimal API using ASP.NET Core. This integration allows developers to leverage the power of large language models (LLMs) in their C# applications with ease.
Blog post: blog.antosubash.com/posts/ollama-semantic-kernal-connector
Microsoft blog: devblogs.microsoft.com/semantic-kernel/introducing-new-ollama-connector-for-local-models/
#csharp #ollama #dotnet #api
Blog post: blog.antosubash.com/posts/ollama-semantic-kernal-connector
Microsoft blog: devblogs.microsoft.com/semantic-kernel/introducing-new-ollama-connector-for-local-models/
#csharp #ollama #dotnet #api
Переглядів: 954
Відео
ABP-Powered .Net Web App with Inertia.js, React, and Vite
Переглядів 3443 місяці тому
Building a web application with ABP Framework, Inertia.js, React, and Vite. Blogpost : blog.antosubash.com/posts/abp-with-inertia-and-react Repo: github.com/antosubash/abp-inertiajs-react #csharp #dotnet #abpframework #react #vite #inertiajs
Ollama and Semantic Kernel with C#
Переглядів 4 тис.5 місяців тому
#programming #ollama #semantic-kernel #csharp In this post, we will learn how to get started with Ollama and Semantic Kernel. We will learn how to install Ollama and get the LLM running on your machine and then we will learn how to use the Semantic Kernel with C# to interact with the LLM. Blog Post: blog.antosubash.com/posts/ollama-with-semantic-kernel
Migrating from Tye to .Net Aspire
Переглядів 6236 місяців тому
This is the part 14 of the series: .NET Microservice with ABP. When I started this series I used Tye to manage the run the services because that was the only viable option at that time but Tye is abandoned by Microsoft and it is not recommended to use it for the new projects. The recommended migration path from Tye is to use Aspire. In this post, we will see how to migrate the Tye to Aspire. Bl...
Abp React V2
Переглядів 8476 місяців тому
V2 of the React Starter Template for ABP application with Next.js, Tailwind CSS, and shadcn-ui is ready to use. You can use this template to start your next project. This template uses the Next.js App Directory Structure. It is easy to use and extend. Blog Post: blog.antosubash.com/posts/abp-react-v2
OpenID Connect (OIDC) with Next.js
Переглядів 1,4 тис.7 місяців тому
Most of the time, I use next-auth for authentication in my Next.js apps. But the problem with next-auth is that it does not support Multitenancy for self-hosted apps. So I thought it would be a good idea to write a post on how to implement OpenID Connect with Next.js. if you have only one tenant or you are hosting your app on Vercel, you can use Next-auth. But if you have multiple tenants or yo...
Abp CLI Template
Переглядів 695Рік тому
In this post, we will see how to create a CLI for your ABP application. Blog Post: blog.antosubash.com/posts/abp-cli-template Repo: github.com/antosubash/abp-cli-template #abpframework #dotnet #cli
ABP React Template
Переглядів 1,6 тис.Рік тому
React Starter Template for ABP application with Next.js and Tailwind CSS is ready to use. You can use this template to start your next project. #react #nextjs #abpframework Blog Post: blog.antosubash.com/posts/abp-react-template
.Net Microservice template
Переглядів 1,2 тис.Рік тому
In this video, I will show you how to create ABP microservice using a dotnet new template. #multitenant #saas #abpframework #dotnet #.net Blog Post: blog.antosubash.com/posts/dotnet-microservice-template-with-abp Series : blog.antosubash.com/posts/abp-microservice-series 00:00 Intro 01:11 Status 01:46 Prerequisites 02:22 Install template 03:17 Create microservice 06:30 Migrations 07:21 Running ...
Migrating Identity Service to OpenIddict Module - Part 13
Переглядів 5 тис.2 роки тому
This post will show how to replace the Identity server with OpenIddict in our microservice. We will use the same microservice we created in the previous posts. Blog post: blog.antosubash.com/posts/migrating-identity-service-to-open-iddict-module #abp #openiddict
Automatically version and release .Net Application
Переглядів 9702 роки тому
In this post we will see how to automatically version and release a .Net Application using GitHub Actions. We will use the conventional commits specification to automatically version and release our application. Blog post: blog.antosubash.com/posts/automatic-version-and-release Repo: github.com/antosubash/dotnet-version-and-release #version #git #release #dotnet
MicroK8s - Hassle-free Kubernetes - Full Series
Переглядів 2,6 тис.2 роки тому
In this video, we will see how to get started with the microk8s and deploy a simple service. We will see how to access the service from outside the cluster using ingress controller. We will also see how to use the cert-manager to get a valid SSL certificate for the service and then how to use the docker registry to store the docker images and how to use the Postgres database in the microk8s clu...
Deploy Registry and Postgres database in MicroK8s - Part 3
Переглядів 1,5 тис.2 роки тому
In this post, we will see how to deploy and secure the registry along with deploying a Postgres database in microk8s. We will also see how to connect to the created registry. We will also see how to create a secret in Kubernetes and use it in the deployment. We will also see how to create a persistent volume and use it in the deployment. Post: blog.antosubash.com/posts/deploy-docker-registry-an...
MicroK8s - Hassle-free Kubernetes - Intro
Переглядів 3 тис.2 роки тому
MicroK8s - Hassle-free Kubernetes - Intro
Setup MicroK8s With Ubuntu - Part 1
Переглядів 3,6 тис.2 роки тому
In this post we will see how to create a single node kubernetes cluster using microk8s. We will use hetzner cloud to create the server and install ubuntu server on it. We will then install microk8s and connect to the cluster using kubectl. Post: blog.antosubash.com/posts/setup-micro-k8s-with-ubuntu Hetzner: hetzner.cloud/?ref=ENhA4rCZ5JUM Repo: github.com/antosubash/microk8s-hetzner-deployment ...
Setup Nginx and cert-manager in MicroK8s - Part 2
Переглядів 2,7 тис.2 роки тому
In this post we will see how to setup nginx reverse proxy and cert-manager in microk8s. We will use the nginx ingress controller to create a reverse proxy for our applications. We will also use cert-manager to create and manage SSL certificates for our applications. Post: blog.antosubash.com/posts/setup-nginx-and-cert-manager-in-micro-k8s Hetzner: hetzner.cloud/?ref=ENhA4rCZ5JUM Repo: github.co...
Create and deploy .Net application in MicroK8s - Part 4
Переглядів 1,1 тис.2 роки тому
Create and deploy .Net application in MicroK8s - Part 4
Docker Deployment from start to finish using docker swarm
Переглядів 2,7 тис.2 роки тому
Docker Deployment from start to finish using docker swarm
Prepare and Deploy abp microservice - Docker Deployment - Part 4
Переглядів 1,1 тис.2 роки тому
Prepare and Deploy abp microservice - Docker Deployment - Part 4
Redis, Rabbitmq, Seq, Registry and Postgres in Docker Swarm - Docker Deployment - Part 3
Переглядів 2,2 тис.2 роки тому
Redis, Rabbitmq, Seq, Registry and Postgres in Docker Swarm - Docker Deployment - Part 3
Traefik and Portainer in Docker Swarm - Docker Deployment - Part 2
Переглядів 14 тис.2 роки тому
Traefik and Portainer in Docker Swarm - Docker Deployment - Part 2
Ubuntu Server with docker in Hetzner - Docker Deployment - Part 1
Переглядів 4,9 тис.2 роки тому
Ubuntu Server with docker in Hetzner - Docker Deployment - Part 1
.Net Microservice with ABP - Full Series
Переглядів 8 тис.2 роки тому
.Net Microservice with ABP - Full Series
Logging with Seq - .NET Microservice with ABP - Part 12
Переглядів 1,8 тис.2 роки тому
Logging with Seq - .NET Microservice with ABP - Part 12
Add New Service - .NET Microservice with ABP - Part 11
Переглядів 1,8 тис.2 роки тому
Add New Service - .NET Microservice with ABP - Part 11
Docker and CI/CD - .NET Microservice with ABP - Part 10
Переглядів 2 тис.2 роки тому
Docker and CI/CD - .NET Microservice with ABP - Part 10
Distributed Event Bus (RabbitMQ) - .NET Microservice with ABP - Part 9
Переглядів 3,3 тис.2 роки тому
Distributed Event Bus (RabbitMQ) - .NET Microservice with ABP - Part 9
IdentityServer and Angular - .NET Microservice with ABP - Part 8
Переглядів 2,2 тис.2 роки тому
IdentityServer and Angular - .NET Microservice with ABP - Part 8
Yarp and Tye - .NET Microservice with ABP - Part 7
Переглядів 1,4 тис.2 роки тому
Yarp and Tye - .NET Microservice with ABP - Part 7
Hi, I just want to say a big thank you for this video. The content is really good, and I love it! It's amazing. I really appreciate the time and effort you put into creating it. Thank you. I am Jinorio Depolver, and I love to learn everything in detail, going deep into them. What do you think about maybe going a bit deeper in future videos on how the code works and why we use this particular approach?, What is the purpose of writing code in this way? , Thank you so much! 👌❤
This is gold. Using Semantic Kernel with ollama sharp. Thank you so much and of course I am very much interested in more of this stuff.
You haven't explained what's abp
Great content. Thanks for covering Ollama with semantic kernel. Have you explored Ollama with extension Microsoft ai? Curious of your findings.
here is the blog post about it blog.antosubash.com/posts/ollama-with-extension-ai-and-function-calling
Hi @Anto Subhash, could you please mention your system configuration for performance comparison with my machine. Response getting delay for my machine :)
I have a 13th gen i9 with 4080 GPU.
Fix your thumb :)
Awesome!
Hi Anto, hoy are you? I am Cris I have watched the Microservice videos and I am greatly impressed. It's useful. I am trying to test Mudolar Monolith using ABP framework. Do you have code or tutorial or video. that can be usefully for me that I am trying to understand how it works. I see that exist an ABP community, how can I access and collaborate. I appreciate your help. Thanks BR Cris
I wanted to deploy it but i got an error: ERR Unable to obtain ACME certificate for domains error for a grafana docker container
fantastic, don't see much about LLMs and C#, keep going.
Great tutorial. Can you show us how to do a RAG using the packages you used.
May I ask for some instructions to deploy this app to IIS hosting?
This is not a tutorial you’re just copying and pasting code.
Ive been using Inertia with .net Core 8 and Vue 3, hosting on Google Cloud App Engine and using Google SQL database. Its a fantastic experience!
please do video on using llama 3.2 vision LLM with its advantages.
is it possible read pdf file and extract some data? eg. read CV.pdf and extract Candidate Name, years of Experience in specific job desc etc.
we have issue with abp framework when we having the multi instance in auth side its giving the authentication issue, when i run in the single instance it works fine we used redis cache also it not working what should i do
check here abp.io/docs/latest/deployment/clustered-environment
export async function getClient() { const abpIssuer = await Issuer.discover(clientConfig.url!); const client = new abpIssuer.Client({ client_id: clientConfig.client_id!, response_types: ['code'], redirect_uris: [clientConfig.redirect_uri], token_endpoint_auth_method: "none" }); return client; } issuer does not export in the latest version of openid-client. Could you please update and provide latest code
openid client v6 was updated yesterday in another repo here github.com/antosubash/abp-react. please check that repo for now. I will update the blog post soon.
How do I turn off multi-tenancy management?
check the middleware. there is a tenant check just remove that and remove tenant id everywhere you see.
@@antosubash thank you for the feedback bro
May I ask what is the best hosting solution for this stacks? Would you mind to do a deploy to production video tutorial?
Just deploy it as a docker container where you usally host. here is a demo site running in docker. abp-inertiajs-react.antosubash.com/
when I click on login I got this error on next app ```⨯ Error: self-signed certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) at TLSSocket.emit (node:events:519:28) at TLSSocket._finishInit (node:_tls_wrap:1085:8) at ssl.onhandshakedone (node:_tls_wrap:871:12) at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'DEPTH_ZERO_SELF_SIGNED_CERT' how to fix this issue ⨯ TypeError: fetch failed at node:internal/deps/undici/undici:12502:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async sendRequest (webpack-internal:///(rsc)/./src/client/core/request.ts:165:12) at async eval (webpack-internal:///(rsc)/./src/client/core/request.ts:280:32) { [cause]: Error: self-signed certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) at TLSSocket.emit (node:events:519:28) at TLSSocket._finishInit (node:_tls_wrap:1085:8) at ssl.onhandshakedone (node:_tls_wrap:871:12) at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'DEPTH_ZERO_SELF_SIGNED_CERT' } } GET /auth/set-tenant 500 in 828ms ⨯ TypeError: fetch failed at node:internal/deps/undici/undici:12502:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async sendRequest (webpack-internal:///(rsc)/./src/client/core/request.ts:165:12) at async eval (webpack-internal:///(rsc)/./src/client/core/request.ts:280:32) { [cause]: Error: self-signed certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) at TLSSocket.emit (node:events:519:28) at TLSSocket._finishInit (node:_tls_wrap:1085:8) at ssl.onhandshakedone (node:_tls_wrap:871:12) at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'DEPTH_ZERO_SELF_SIGNED_CERT' } } GET /auth/set-tenant 500 in 15ms ??? ```
simply brilliant, suppose I want to prebuild context based on a business domain from data stores, emails, documentation, and then save that context for interaction, how would one approach that using a semantic kernel
Look for RAG samples in SK repo.
Did your code (slightly) change? I get build errors with OllamaChatCompletionService following your instructions.
Hi we have issue in authentication in abp please help me out
Hi I"m not sure how to help. I have no context. please create a stackoverflow question and share.
@@antosubash ok
does llama can read pdf file?
yes it can. you have to create embeddings.
@@antosubash how? do a videa?
hello sir, how I can deploy?
check here blog.antosubash.com/posts/part-4-prepare-and-deploy-microservice-in-docker
Great work, thanks!
Is it possible to do the same for aspnet zero?
Sorry, I dont work with aspnet zero.
we are using single layer application when the tester was tested the api in jmeter he used 1000 user at a time my databse is crashed and now i cant get the permission from databse ,some time it will fetch the permission some time not what should i do for this please help me
Can we make a shared dbmigrator for single layer application
Thank you for this video! However when i logout i get `TypeError: end_session_endpoint must be configured on the issuer`. My issuer is WHMCS and it doesn't have an `end_session_endpoint`. Any idea what could this be? Does my backend (WHMCS) needs to have this endpoint or its might be another (missleading) error? Thanks!
Thank you very much! This example was very helpfull for me to create an own Ollama connector. Just FYI: the OllamaSharp lib is now in version 3.0.1 and has some breaking changes, so the code in the blog post don't quite work. Besides that an exelent example, on point!
@arkord76 Thanks for letting me know. I have updated the blog post.
First thanks a lot for the efforts I've a problem when I access the swagger documentation let's say for example the identityservice API documentation, the endpoints for like getting users or roles... works fine, but the problem occurs when trying to post a new or modify an existing role or user... the server respond with the 500 error message, saying that an internal error occurred during your request!
what is the error? without knowing it is very hard to say. can you check the logs and share it?
also is this model capable to doing RAG, embeddings, etc, plus what about function calling?
function will work with the connectors. wait for the ollama connector to be released.
I got function calling to quite consistently work with llama3.1 and the IChatCompletionService. It required to lower the temperature to .1 and to provide a system prompt telling the assistant that it actually uses plugins. Edit: I added the model via AddOpenAIChatCompletion()
Hi @Anto Subash, Thanks for share. I am running the model in my windows PC (CPU) with 32GB. I am getting below error and seems it's very slow :(. Unhandled exception. System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
what model are you running?. make sure ollama is running ok with that model.
@@antosubash same model as you mentioned and also ollama is running
Hello Anto, I got an error interval 500 while startup react app. Still I didn't fix it even I changed environment file
This template is updated right now. check here blog.antosubash.com/posts/abp-react-v2
@@antosubash thank you Anto, i'll try it.
how to do dedicated db using abp framework
awesome work Anto. It was great help
how to do mlutitenant and multi database using abp framework
check here abp.io/docs/latest/framework/architecture/multi-tenancy#gsc.tab=0
@@antosubash thank you
Hi, Thanks for amazing stuff. Could you please update your previous videos related to microservices as there's lot of error coming while setting up microservices using startup template.
you mean this github.com/antosubash/AbpMicroservice. what is the error can you file an issue?
I appreciate your efforts on the solution, I am stuck in a similar situation but the part where my problem statement vary is, my backend, it's using spring boot, can you please explain how I could achieve this .
can you explain bit more? i'm not sure how I can help when you say backend problem.
@@antosubash I have coded my front-end application using Next.js (Its basically an internal portal), for my backend, I have opted for spring boot and now I am trying to implement keycloak for IAM and authentication. Initially what I thought was I would initiate login via Rest API calls but that got a bit complicated, after some reading I boiled down my option to oidc. My major issues are redirecting and conveying the backend that the user has logged in and serve the information according to his credability.
@@pratheekbanagar4420 you get a JWT from the auth server and you should use that token to contact your backend. your backend should know how to validate the token with the auth server and get user info.
Can RabbitMQ be replaced with Redis Stream?
So great. Thank you very much.
Thank you too!
if you can ,please do more videos for ABP framwork
thanks alot for illustration .it's really helps me to fully understand 💯💯
You're welcome 😊
All the permissions/settings of all microservices should be created in administration service ? He will centralize all of them ? Thanks a lot for the content !! You are great !
Yes, exactly
thanks for the excelent videos, but i have one doubt... how the new services access the permission/settings from the administration service?
the admin service should know about all the services in that structure. This was done before the dynamic permissions were implemented. check here for more info github.com/abpframework/abp/pull/13644
@@antosubash thanks a lot !!
your blog website is in Hetzener?
No, it's running in Vercel.
@@antosubash ok and where do your backends run?
@@vizteca24 my api is running in hetzner.
I preferred the openapi generator. The swagger.json was generated by it anyway, and the code generated static functions that work like magic Awesome code you got there, bro
Hello Anto Subash First of all great Video! But I would really love to see a minimal React starter or more or less an Angular drop in replacement.
check the version 2