Skip to content

About

Initial experiments with function calling and the Gemini API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Basic LLM Workflow

Initial experiments with function calling and the Gemini API. The script covers the classic 4-step function calling loop that powers modern LLM workflows.

  • Schema Definition: Declaring tools so the model knows what parameters to output.
  • Intent Parsing / Function Calling: Having the model recognize when to stop and ask for an external tool call rather than returning text.
  • External API Execution: Fetching environment variables, hitting a REST API (requests), and parsing JSON.
  • Context Injection & Completion: Passing the tool's execution result back to the model state so it can form a natural language response.

About

Initial experiments with function calling and the Gemini API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages