Skip to content

robustrobotics/nlu_interface

Repository files navigation

nlu_interface

This is designed to be a general library for managing a way to interface with different LLM providers (e.g., OpenAI, Anthropoc, local Ollama, etc.) and to organize resources/tools that go into different projects (e.g., prompts, configs, etc.).

Simple Example (OpenAI)

Note that the example config expects an API key to be stored in the environment variable $OPENAI_API_KEY.

To run a simple example for OpenAI, do the following:

cd nlu_interface/examples/
python test.py --config ../config/openai_config.yaml --prompt ../src/nlu_interface/resources/prompt.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •