Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 703 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 703 Bytes

conversational-agent

conversational agent with llm gpt-4o

  • things to build for example are:
    • example use azure openai with python (done)
    • example use history as previous knowledge and context (done)
    • example use case for function call with gpt-4o model(done)
    • use RAG (retreival augmented generation) as added knowledge for product(todo)
    • to be continue..

How to

  1. make sure you create .env file with this variable inside
AZURE_OPENAI_ENDPOINT=YOUR API OPENAI ENDPOINT
CHAT_COMPLETIONS_DEPLOYMENT_NAME=Your Model Name(i'm using gpt-4o)
PROMPT_FILE_NAME=prompt_pizza_hut_id.txt
  1. pip install -r requirements.txt
  2. run python main.py