Skip to content

Instantly share code, notes, and snippets.

@rwatsh
rwatsh / ollama_dspy.py
Created October 13, 2025 21:33 — forked from jrknox1977/ollama_dspy.py
ollama+DSPy using OpenAI APIs.
# install DSPy: pip install dspy
import dspy
# Ollam is now compatible with OpenAI APIs
#
# To get this to work you must include `model_type='chat'` in the `dspy.OpenAI` call.
# If you do not include this you will get an error.
#
# I have also found that `stop='\n\n'` is required to get the model to stop generating text after the ansewr is complete.
# At least with mistral.
@rwatsh
rwatsh / Template-Developer-Survey.md
Created October 27, 2022 03:47 — forked from durbon/Template-Developer-Survey.md
Este listado de temas cubre un amplio abanico de asuntos que nos interesa evaluar dentro del equipo https://medium.com/@durbon/developer-survey-recopilando-la-opini%C3%B3n-de-los-desarrolladores-76384a0347bb

1. Development environment

  • How would you rate the development environment in team? (Use the [1-5] scale)
  • How would you rate the project Settings needed to start to work? (Use the [1-5] scale)
  • How would you rate documentation of the necessary tools? (Use the [1-5] scale)
  • How do you rate the team’s current onboarding process? (Use the [1-5] scale)
  • Do you think we have enough tools to work with? (Use the [1-5] scale)
  • What tools are you missing in order to be more productive at work?

2. Code

  • What is the level of satisfaction with the current codebase? (Use the [1-5] scale)
I have about 14+ years of IT Industry experience. I have worked in NMS/EMS development with programming expertise in 'Java', and C/'C++' and dynamic languages like PHP, VB Script, etc. I am proficient in the domain area of SNMP based Network Management Systems development and have worked on developing EMS/NMS systems and SNMP Agents on both pc-hosted and firmware environments.
I am proficient in Java Enterprise Edition web applicaiton development (and I am Sun Certified in Java Programming (SCJP 5.0), developing Java Web Services (SCDJWS 1.4), Web Component Development (SCWCD 1.4) and Business Component Development (SCBCD 1.3)). I have domain knowledge in cable broadband HFC networks, Storage Area Networks (including Fibre Channel, iSCSI, NFS) and since 2009 I have been actively working in Virtualization domain (especially Server Virtualization and Brocade Virtual Cluster Switching) on Brocade, VMware and Microsoft products.