This is a field-specific research Chatbot application for Pokemon open-ended research questions. The main framework consists of Python Flask backend, HTML/JavaScript UI, and SQLite database. OpenAI Agents is used as the LLM engine, and Python library "pokebase" is used as knowledge resource.
- In the ".env" file, put a valid OpenAI API key
- Install all required Python libraries
- Run app.py to launch the chatbot application
- Create a new chat or select one from history, rename, or delete
- Type Pokemon related questions in the text box and wait for the results and reasoning
- Use of official knowledge source Python library "pokebase" (https://github.com/PokeAPI/pokebase) in AI research
- General purpose AI researcher: capable of dealing with all kinds of queries related to the game
- Iterative function call suggestions are made, and functions are executed based on API docstring and the relavance to user query
- Using sentence transformers for caching previous queries with very similar meaning, to save repeated API call
- No context of previous user-agent conversation is kept
- AI response is limited to pure text (no image or other media)