Vector database and conversion of text to vectors for similarity search.
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
A vector database stores high-dimensional vectors, which are numerical representations of data such as text, enabling efficient similarity search. By converting text into vectors (using methods like word embeddings), these databases allow for finding semantically similar items, even if they don’t share exact keywords. To dive deeper into advanced topics, you can explore techniques like ..read more
Visit website
Structured Output in Spring AI
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
Source code – https://github.com/rajeshsgr/structured-op-demo-spring-ai/blob/main/README.md ..read more
Visit website
Structured outputs in LLM
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
How FSMs work: Building an FSM: Ensuring Structured Output in LLMs In the next blog, i will explain how it is done in Spring AI. Thank You ..read more
Visit website
Streaming LLM response in Spring AI
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
Source Code : https://github.com/rajeshsgr/stream-demo-spring-ai/tree/main Thanks ..read more
Visit website
Optimizing AI Interactions in Spring AI using ChatResponseMetadata
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
The following code snippet demonstrates how to access and utilize ChatResponseMetadata within a Spring application: These values are helpful for tracking how much of the allocated tokens have been consumed, and whether your usage is within the allowed limits. They are also useful for users who may be concerned about token consumption and costs. This ..read more
Visit website
Fluent APIs and Spring AI’s Chat Client API
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
Spring AI Chat Client API Thanks ..read more
Visit website
Prompts in Spring AI
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
This blog explores various prompt engineering techniques, including simple prompts, user-defined prompts, system-guided prompts, assistant-role prompts, and resource-based prompts. The PromptDemoController class showcases these techniques through different endpoints, allowing users to interact with the LLM in different ways. By understanding these concepts and utilizing the Spring AI ChatClient effectively, developers can create more sophisticated and ..read more
Visit website
What is Spring AI ? Example of a chat API with multiple LLMs
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
By employing the Spring AI framework and utilizing a well-defined ChatModel abstraction, developers can build highly flexible and adaptable chat applications that can seamlessly integrate with various LLMs. This approach promotes modularity, maintainability, and ease of future expansion, making it an ideal solution for building cutting-edge AI-powered conversational experiences This blog post provides a simplified ..read more
Visit website
What is ollama? Is it also a LLM?
Blogs, Ideas, Train of Thoughts
by rajeshsgr
3M ago
Services: Ports: Volumes: Using the Docker Compose File This command will download the necessary Docker images, create and start the containers, and run Ollama and OpenWebUI in the background. Accessing OpenWebUI Once the containers are up and running, you can access the OpenWebUI by opening a web browser and navigating to http://localhost:3000. This will launch ..read more
Visit website
How do you setup Keycloak with an existing PostgreSQL database and Docker ?
Blogs, Ideas, Train of Thoughts
by rajeshsgr
5M ago
Environment Variables (environment): Environment variables define the configuration of Keycloak. Here’s a breakdown of the variables: Thanks ..read more
Visit website

Follow Blogs, Ideas, Train of Thoughts on FeedSpot

Continue with Google
Continue with Apple
OR